ynievesdotnet/adminpanel-hooks

Hooks integrated in AdminPanel

v1.0.1 2020-04-21 00:25 UTC

This package is auto-updated.

Last update: 2024-04-21 20:10:25 UTC


README

Build Status StyleCI Total Downloads Latest Stable Version License

Made with ❤️ by Mark Topper Maintained by Yoinier Hernández

AdminPanel Hooks

Hooks system integrated into AdminPanel.

Installation

Install using composer:

composer require ynievesdotnet/adminpanel-hooks

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

'providers' => [
    YnievesDotNet\AdminPanelHooks\AdminPanelHooksServiceProvider::class,
],

In order for AdminPanel 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 AdminPanel admin panel and see a new menu item called Hooks have been added.