larapack / voyager-hooks by marktopper

Hooks integrated in Voyager
1,411,710
208
8
Package Data
Maintainer Username: marktopper
Maintainer Contact: mark@ulties.com (Mark Topper)
Package Create Date: 2016-12-20
Package Last Update: 2020-03-04
Language: PHP
License: MIT
Last Refreshed: 2024-04-19 15:02:46
Package Statistics
Total Downloads: 1,411,710
Monthly Downloads: 4,515
Daily Downloads: 195
Total Stars: 208
Total Watchers: 8
Total Forks: 21
Total Open Issues: 6

Voyager Hooks

Made with ❤️ by Mark Topper

Voyager Hooks

Hooks system integrated into Voyager.

Installation

Install using composer:

composer require larapack/voyager-hooks

Then add the service provider to the configuration (optional on Laravel 5.5+):

'providers' => [
    Larapack\VoyagerHooks\VoyagerHooksServiceProvider::class,
],

In order for Voyager to automatically check for updates of hooks, add the following to your console kernel:

protected function schedule(Schedule $schedule)
{
    $schedule->command('hook:check')->sundays()->at('03:00');
}

That's it! You can now visit your Voyager admin panel and see a new menu item called Hooks have been added.