a SENSIOLABS Product
Symfony

Event Dispatcher
Facilitating communication
between PHP classes

Symfony Event Dispatcher is a PHP library that provides a lightweight implementation of the Observer design pattern.

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.

Fast

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.

Open-Source

Released under the MIT license, you are free to do whatever you want, even in a commercial environment. You are also encouraged to contribute.

Built on the shoulders of giants

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.

Easy to use

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.

Documented

Symfony Event Dispatcher is fully documented, with a dedicated online book, and of course a full API documentation.

Unit tested

The library is fully unit-tested. With 100% code coverage, the library is stable and ready to be used in large projects.

Who is behind Symfony Event Dispatcher?

The Symfony Event Dispatcher library is being developed and maintained by the symfony project team. It has been extracted from symfony to be used as a standalone library. Symfony Event Dispatcher is part of the symfony components project.

powered by symfony - "symfony" is a trademark of Fabien Potencier, all rights reserved - The components "animals" are © 2009 Sensio Labs

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.