kcmerrill / events
A simple event script, useful for EDD and Plugins
Installs: 927
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/kcmerrill/events
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-12-20 18:53:18 UTC
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