A ZF2 Plugin Manager for ZF2 Event Managers
A ZF2 Plugin Manager for ZF2 Event Managers.
composer require abacaphiliac/zend-eventmanager-pluginmanager
Abacaphiliac\Zend\EventManager\PluginManagermodule to your ZF2 application module config.
- create a service-manager config block with key
event_managersin your application config.
- register a named event manager in the
- get your named event manager from the service locator!
$eventManager = $serviceLocator->get('EventManagers')->get('MyNamedEventManager');
ZF2 EventManager, ModuleManager, MVC, and ServiceManager.
dev deployments include the entire framework because the Module collaboration test boots the ModuleManager, which has many hidden dependencies in most of the ZF tags.
composer install && vendor/bin/phing