Simple implementation of the event dispatcher.
In the "repositories" section you need to add the code:
{"type": "git", "url" : "https://github.com/zellien/event-dispatcher"}
In the "require" section you need to add the code:
{"zellien/event-dispatcher": "master"}
After you need to run the command:
composer update