The PHP Event Stream library provides an easy-to-use event dispatcher that you can quickly drop into your own project to save you time and effort.
Run this command to add this library to your composer.json
file:
composer require ganbarodigital/php-event-stream