kcmerrill/events
Composer 安装命令:
composer require kcmerrill/events
包简介
A simple event script, useful for EDD and Plugins
README 文档
README
The concept and idea I derived from WordPress and it's way of creating plugins. Or what some refer to as event driven design. I personally prefer it to be used for making things extensible.Each register requires a paramater that would pass is_callable(). So use your imagination :)
I've attached a simple example.php to further explain the concept. Also, take a peek at WP's documentation as it's pretty thorough. Keep in mind however that the api is not the same as pluginify's, it's just to explain the concepts.
Wordpress Plugin API
统计信息
- 总下载量: 927
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-01-06