dragonrun1/event-mediator
Composer 安装命令:
composer require dragonrun1/event-mediator
包简介
A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.
README 文档
README
Travis-ci:
Scrutinizer-ci:
Coveralls:
A general event mediator (dispatcher) with minimal dependencies so it is easy to drop in and use.
Installing
The recommended way to install Event-Mediator is using Composer from Packagist with:
composer require dragonrun1/event-mediator
You can also get it as a zip file from GitHub.
Licensing
Licensing information can be found in the LICENSE file.
Introduction
Most people might know event mediator as an event dispatcher instead and both names would have worked. The reason I choose to call it a mediator is it follows the mediator pattern. For those of you that are familiar with Symfony 2 and it's EventDispatcher component then Event Mediator started out as basically a drop in replace for it without the (IMHO) huge dependence overhead often seen with Symfony components. Event Mediator has since grown into something better since then I think.
To get a better understanding about Event-Mediator and how you might use it check out Understanding Event-Mediator
Changes
- Started new 2.0-dev branch with many BC breaking changes.
- The 1.0 series is now end of life and all application developers should update to newer 2.0 versions ASAP. If your code only used the listener methods the move should be easy with few changes needed. If application uses any of the subscriber stuff you will need to update the returned event array to reflect the new expected format.
For a more complete understand of the changes refer to the commit messages and new code.
dragonrun1/event-mediator 适用场景与选型建议
dragonrun1/event-mediator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 344 次下载、GitHub Stars 达 4, 最近一次更新时间为 2015 年 02 月 05 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dragonrun1/event-mediator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dragonrun1/event-mediator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 344
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 17
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-02-05