Download the PHP package iceylan/eventor without Composer
On this page you can find all versions of the php package iceylan/eventor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download iceylan/eventor
More information about iceylan/eventor
Files in iceylan/eventor
Download iceylan/eventor
More information about iceylan/eventor
Files in iceylan/eventor
Vendor iceylan
Package eventor
Short Description Simple event emitter and dispatcher for PHP
License MIT
Package eventor
Short Description Simple event emitter and dispatcher for PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package eventor
Eventor
This is a lightweight event handling system for PHP classes via Trait.
Eventor provides a simple event-driven API to any PHP class without forcing inheritance. Attach event listeners, trigger them, propagate results, and handle listeners with priority and once-only options.
🚀 Installation
✨ Features
- Add event-driven behavior to any class via a trait
- Support for
on
,once
,off
,trigger
- Listener priority system
- Stop event propagation
- Collect listener return values
- Minimal and flexible
🔥 Usage
Output:
🛠 Advanced Usage
You can alias trait methods when using the trait, allowing you to customize your API surface:
All versions of eventor with dependencies
PHP Build Version
Package Version
The package iceylan/eventor contains the following files
Loading the files please wait ....