an Event-based Plugin Architecture for PHP