dragonrun1/event-mediator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dragonrun1/event-mediator

最新稳定版本:2.0.0

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

SensioLabsInsight

Travis-ci: Build Status
Scrutinizer-ci: Scrutinizer Code Quality
Coveralls: Coverage Status

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.

统计信息

  • 总下载量: 344
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-02-05