Event generator and dispatcher for Laravel framework