ynievesdotnet/adminpanel-hooks

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Hooks integrated in AdminPanel

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

This package is auto-updated.

Last update: 2021-05-21 13:17:20 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.