Looking to hire Laravel developers? Try LaraJobs

laravel-hooks maintained by iambib

Description
Laravel Hooks and Plugins package
Last update
2023/03/02 18:20 (dev-master)
License
Downloads
11
Tags

Comments
comments powered by Disqus

Laravel Hooks & Plugins

A package that allows you to have hooks and plugins for your laravel application

Description

Wordpress style hooks and plugins for laravel

Installation

    composer require iambib/laravel-hooks

config/app.php

	'providers'       => [
	    ...
	    iAmBiB\Hooks\Providers\HookServiceProvider::class,
	]
	'aliases'       => [
	    ...
	    'Hooks' => iAmBiB\Hooks\Facades\Hooks::class,
	]
    php artisan vendor:publish --tag=iambib-hooks

Usage

See the demo plugin in app/Plugins to execute a hook

    execute_hook('hook_name')

Support

Hey dude! If you like it .. well or a would be nice :D