iambib/laravel-hooks

Laravel Hooks and Plugins package

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/iambib/laravel-hooks

v1.0.0 2023-03-02 17:20 UTC

This package is auto-updated.

Last update: 2025-09-29 03:20:08 UTC


README

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 beers or a coffee would be nice :D

coffee