PHP Micro component for event dispatch