larapack / voyager-hooks

Hooks system integrated into Voyager.
MIT License
208 stars 22 forks source link

use laravel contract instead of dispatcher class #21

Closed mcharytoniuk closed 6 years ago

mcharytoniuk commented 6 years ago

it is possible to use this panel with OctoberCMS that is based on Laravel, but it uses custom EventDispatcher: https://github.com/octobercms/library/blob/master/src/Events/Dispatcher.php ; it follows dispatcher contract though -in general using contract is more generic solution

marktopper commented 6 years ago

Thanks 👍 If you don't, then I might look into making support for OctoberCMS someday.

mcharytoniuk commented 6 years ago

@marktopper yeah, I might. It would be useful to have a panel independent from OctoberCMS one, because OctoberCMS's backend is not accessible by registered users and not really customizable. Having something like Voyager available would be a great improvement. Thanks!