liip / drupaleventmanagermodule
事件管理器,用于增强 Drupal 钩子系统(实际上用于您自定义事件,而不是钩子系统)
0.5
2013-07-04 12:34 UTC
Requires
- php: >=5.3.8,<5.4
- beberlei/assert: dev-master
- liip/drupalconnectormodule: dev-master
- liip/drupalregistrymodule: dev-master
Requires (Dev)
- lapistano/proxy-object: dev-master
This package is not auto-updated.
Last update: 2024-09-10 03:12:16 UTC
README
此模块旨在摆脱 Drupal 钩子系统;至少对于自定义事件。
当前的 Travis 状态
安装
源代码现在兼容 PSR-0。无需遵循特定的安装程序。只需将源代码克隆或检出到您的项目中并使用它。如果您不使用兼容 PSR-0 的自动加载器,只需将 bootstrap.php
添加到您的引导程序或自动加载器中即可。
Composer
将以下行添加到您的 composer.json
文件中,并更新您的项目 composer 安装。
{ "require": { "liip/drupaleventmanagermodule": "dev-master" } }
此 composer 配置将检出项目的“尖端”版本('dev-master')。请注意,这有时可能是有问题的。
注意:如果您不知道这意味着什么,请从 composer 项目网站 开始了解。
Github
因此,我建议您使用 composer 将 LiipDrupalEventManagerModule 作为项目的依赖项。源代码也通过 github 提供。只需克隆它,就像您可能熟悉的那样。
$ 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 (https://github.com/lapistano/ProxyObject)