It's a good way to make your code more flexible. It's also a great way to make your code easily extensible by others. Third-party code listens to specific events by registering PHP callbacks and the dispatcher called them whenever your code notifies these events.
The main goal of Symfony Event Dispatcher is to be as fast as possible. No need to implement interfaces or extend complex classes, events are simple strings and the notification code is very light. Add any number of listeners and notifications without too much overhead.
Released under the MIT license, you are free to do whatever you want, even in a commercial environment. You are also encouraged to contribute.
Symfony Event Dispatcher has its roots in the Apple Cocoa notification center. But instead of being a straight port of the original implementation, the library has been rethought and redesigned to take into account the PHP platform specificities.
There is only one archive to download, and you are ready to go. No configuration, and no installation. Drop the files in a directory and start using it today in your projects.
Symfony Event Dispatcher is fully documented, with a dedicated online book, and of course a full API documentation.
The library is fully unit-tested. With 100% code coverage, the library is stable and ready to be used in large projects.
