Recommend this page to a friend! |
Classes of Hillary Kollan | Chatto PHP Websocket Chat System | vendor/evenement/evenement/README.md | Download |
|
DownloadÉvénementÉvénement is a very simple event dispatching library for PHP. It has the same design goals as Silex and Pimple, to empower the user while staying concise and simple. It is very strongly inspired by the EventEmitter API found in node.js. FetchThe recommended way to install Événement is through composer. Just create a composer.json file for your project:
Note: The
And run these two commands to install it:
Now you can add the autoloader, and you will have access to the library:
UsageCreating an Emitter
Adding Listeners
Emitting Events
Tests
LicenseMIT, see LICENSE. |