https://github.com/kcmerrill/events
A hook/filter system(Similiar to word press hooks/filters). Useful for creating plugins as an example.
https://github.com/kcmerrill/events
Last synced: 3 months ago
JSON representation
A hook/filter system(Similiar to word press hooks/filters). Useful for creating plugins as an example.
- Host: GitHub
- URL: https://github.com/kcmerrill/events
- Owner: kcmerrill
- Created: 2013-01-02T22:44:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-13T21:11:08.000Z (almost 11 years ago)
- Last Synced: 2025-01-26T17:11:20.955Z (5 months ago)
- Language: PHP
- Size: 176 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Events
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[](https://travis-ci.org/kcmerrill/events)