karabinse/fabriq-connector
Composer 安装命令:
composer require karabinse/fabriq-connector
包简介
Fabriq Saloon Connector
README 文档
README
Installation
You can install the package via composer:
composer require karabinse/fabriq-connector
You can publish the config file with:
php artisan vendor:publish --tag="fabriq-connector-config"
This is the contents of the published config file:
return [ 'base_url' => env('FABRIQ_CONNECTOR_BASE_URL', 'http://localhost'), 'enable_cache' => env('FABRIQ_CONNECTOR_ENABLE_CACHE', false), 'cache_expiry' => env('FABRIQ_CONNECTOR_CACHE_EXPIRY', (3600 * 24) * 7), 'cache_driver' => env('FABRIQ_CONNECTOR_CACHE_STORE', 'file'), 'fabriq_connector_token' => env('FABRIQ_CONNECTOR_TOKEN', ''), ];
Usage
$connector = new FabriqConnector(locale: 'en'); $request = new GetContactsRequest(params: ['include' => 'content']); $response = $connector->send($request); // Response // "data": [ // { // "id": 1, // "locale": "sv", // "name": "Frans Rosander", // "email": "Frans@sten.com", // "phone": "+46 (44) 28 71 11", // "mobile": "+46 (0)702 - 99 09 41", // "published": 1, // "sortindex": 1, // "created_at": "2024-04-11T11:33:17.000000Z", // "updated_at": "2024-05-30T08:18:48.000000Z", // "content": { // "data": { // "body": "", // "position": "", // "image": { // "id": 56, // "file_name": "IMG_5966_FransR.jpg", // "src": "", // "thumb_src": "", // "webp_src": "", // "srcset": "", // "alt_text": "", // "caption": null, // "mime_type": "image\/jpeg", // "size": 23076, // "width": 150, // "height": 187, // "custom_crop": false, // "responsive": "", // "x_position": "50%", // "y_position": "50%", // "meta_id": 13 // }, // "enabled_locales": null // } // } // } // ]
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
karabinse/fabriq-connector 适用场景与选型建议
karabinse/fabriq-connector 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.4k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 05 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「Karabin」 「fabriq-connector」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 karabinse/fabriq-connector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 karabinse/fabriq-connector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 karabinse/fabriq-connector 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easily search eloquent models and their relations
User invitation for Laravel using built in PasswordBroker
Easily add a commentable trait to a Eloquent model
Use this package in conjunction with Fabriq CMS for your front end
Alfabank REST API integration
PHP wrapper around Confetti API
统计信息
- 总下载量: 1.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-30