Download the PHP package rpk/plugin-manager without Composer
On this page you can find all versions of the php package rpk/plugin-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package plugin-manager
PluginManager
- a simple observer pattern implementation inspired from zend-eventmanager. For complex workflows use zend-eventmanager
- can be easily used with zend-expressive (http://zendframework.github.io/zend-expressive) in combinations with pipes (ex: changing/add data before returning HtmlResponse)
PluginResponseCollection is a copy of zend-eventmanager/ResponseCollection (http://github.com/zendframework/zend-eventmanager)
Usage
- composer require rpk/plugin-manager
-
trigger event in app
-
return [ 'plugin-manager' => [ 'page::edit-render.pre' => [ new \RpkPluginManager\Plugin(\Coco\ChangeHome::class), new \RpkPluginManager\Plugin(function($params, $target){ $params['data']['some_new_prop'] = 'some_new_value'; }, 10, false, \RpkPluginManager\Plugin::TYPE_CALLABLE), ]
] ];
-
All versions of plugin-manager with dependencies
PHP Build Version
Package Version
The package rpk/plugin-manager contains the following files
Loading the files please wait ...