enflow/component-brick
Composer 安装命令:
composer require enflow/component-brick
包简介
The enflow/component-brick package provides the logic to connect to the iOS and Android side of the Brick framework.
README 文档
README
The enflow/component-brick package provides the logic to connect to the iOS and Android side of the Brick framework. Brick is meant to be used as the server-side variant of the Brick framework. See "Whats Brick"
What's Brick
Brick is Enflow's framework to create hybrid iOS and Android apps. These wrappers communicate with the server side trough a JavaScript bridge. This package writes a tag to your application that those native wrappers communicate with. The primary function of this package is to support push notifications by fetching the device ID from the device and write it to a table.
Installation
You can install the package via composer:
composer require enflow/component-brick
Migrations
This package includes a migration that needs to be published. This table (brick_devices) includes the mapping between the user and the hardware UUID of the iOS or Android device required for push notifications. New devices will be automatically assigned to the user. You can publish this migration by running:
php artisan vendor:publish --provider="Enflow\Component\Brick\BrickServiceProvider"
Usage
This package adds the BrickManager class to the container and injects a $brickManager variable to all views. This variable can be used to render the required tag automatically. We recommend adding this to the end of the master template, just before the </body>:
{!! $brickManager->tags() !!}
We recommend viewing through the files in this package to understand its usage and logic.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email michel@enflow.nl instead of using the issue tracker.
Credits
About Enflow
Enflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info on our website.
enflow/component-brick 适用场景与选型建议
enflow/component-brick 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 40.97k 次下载、GitHub Stars 达 3, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 enflow/component-brick 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 enflow/component-brick 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 40.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 未知