larapack / voyager-hooks by marktopper

Hooks integrated in Voyager
1,443,709
208
7
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-12-15 15:26:21
Package Statistics
Total Downloads: 1,443,709
Monthly Downloads: 3,672
Daily Downloads: 64
Total Stars: 208
Total Watchers: 7
Total Forks: 22
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.