Creating a custom Event
To create a Event dispatcher you need to implement EventInterface
<?php
class CustomEvent implements EventInterface {}
You can also extend from AbstractEvent that will add some goodies
<?php
class CustomEvent extends AbstractEvent implements EventInterface {}
With Laravel
It would be as easy as new Event(app('events'))
<?php
// Example using Laravel event dispatcher
$manager = new \Mascame\Extender\Manager($installer, $booter, new Mascame\Extender\Event\Event(app('events')));
Updated less than a minute ago