larapack / voyager-hooks by marktopper

Hooks integrated in Voyager
1,440,017
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-11-15 15:26:16
Package Statistics
Total Downloads: 1,440,017
Monthly Downloads: 3,805
Daily Downloads: 145
Total Stars: 208
Total Watchers: 8
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.