Event dispatcher for composer scripts/events