Event Manager API for PHP