Download the PHP package theanh/laravel-hooks without Composer
On this page you can find all versions of the php package theanh/laravel-hooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download theanh/laravel-hooks
More information about theanh/laravel-hooks
Files in theanh/laravel-hooks
Download theanh/laravel-hooks
More information about theanh/laravel-hooks
Files in theanh/laravel-hooks
Vendor theanh
Package laravel-hooks
Short Description Add Actions and filters in Laravel like WordPress.
License MIT
Package laravel-hooks
Short Description Add Actions and filters in Laravel like WordPress.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-hooks
About
Add Actions and filters in Laravel like WordPress.
Installation
- Install using Composer
Usage
Anywhere in your code you can create a new action like so:
Add action
To listen to your hooks, you attach listeners. These are best added to your AppServiceProvider boot()
method.
Apply filters
Add filters
To listen to your hooks, you attach listeners. These are best added to your AppServiceProvider boot()
method.
Using in Blade
Adding the same action as the one in the action example above:
Adding the same filter as the one in the filter example above:
All versions of laravel-hooks with dependencies
PHP Build Version
Package Version
The package theanh/laravel-hooks contains the following files
Loading the files please wait ....