fei/notification-client
Composer 安装命令:
composer create-project fei/notification-client
包简介
Flash applicative Notification - client component
README 文档
README
Table of contents
Purpose
This client permit to use the Notification Api. Thanks to it, you could request the API to :
- Fetch data
- Create data
- Update data
- Delete data
easily
Requirements
Runtime
- PHP 5.5
Step by step Installation
for all purposes (devlopment, contribution and production)
Initialization
- Cloning repository
git clone https://github.com/flash-global/notification-client.git - Run Composer depedencies installation
composer install
Configuration
The notification client needs some options to work properly. The available options that can be passed to the __construct() or setOptions() methods are :
| Option | Description | Type | Possible Values | Default |
|---|---|---|---|---|
| OPTION_BASEURL | This is the server to which send the requests. | string | Any URL, including protocol but excluding path | -- |
| OPTION_HEADER_AUTHORIZATION | Api Key for authentification | string | Any string value | '' |
Settings
Don't forget to set the right baseUrl !
<?php $notifier = new Notifier([AbstractApiClient::OPTION_BASEURL => 'http://127.0.0.1:8800']); $notifier->setTransport(new BasicTransport());
Known issues
No known issue at this time.
Contribution
As FEI Service, designed and made by OpCoding. The contribution workflow will involve both technical teams. Feel free to contribute, to improve features and apply patches, but keep in mind to carefully deal with pull request. Merging must be the product of complete discussions between Flash and OpCoding teams :)
Link to documentation
Examples
You can test this client easily thanks to the folder examples
Here, an example on how to use example : php /my/notification-client/folder/examples/notify.php
Credits
- Product Owner : Nicolas Devaux (FEI)
- Lead developer : Boris Cerati (OpCoding)
- Main developer : Ludovic Sanctorum (OpCoding)
fei/notification-client 适用场景与选型建议
fei/notification-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6.87k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 12 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 fei/notification-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 fei/notification-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2018-12-28