This module is done to get rid of the Drupal hook system; at least for custom events.
The source is now PSR-0 compatible. There is no specific installation routine to be followed. Just clone or checkout the source into to your project
and use it.
In case you don't use a PSR-0 compatible autoloader, you only have to add the bootstrap.php
into your bootstrap or
autoloader.
Add the following lines to your composer.json
file and update your project's composer installation.
{
"require": {
"liip/drupaleventmanagermodule": "dev-master"
}
}
This composer configuration will checkout the 'cutting eadge' version ('dev-master') of the project. Be alarmed that this might be broken sometimes.
NOTE: In case you do not know what this means the composer project website is a good place to start.
Thus I recommend the composer way to make LiipDrupalEventManagerModule a dependency to your project. The sources are also available via github. Just clone it as you might be familiar with.
$ git clone git@github.com:liip/LiipDrupalEventManagerModule.git
- LiipDrupalConnector (https://github.com/liip/LiipDrupalConnectorModule)
- LiipDrupalRegistryModul (https://github.com/liip/LiipDrupalRegistryModule)
- Assert (http://github.com/beberlei/assert)
- ProxyObject for dev purposes (https://github.com/lapistano/ProxyObject)