Here is a short class that will let you add events to a PHP project.

The class EventManager defines a singleton, which you access with the EventManager::getInstance() expression.

Continue reading