library hooks
PHP Hooks System
skopek/hooks
PHP Hooks System
- Saturday, May 5, 2018
- by skopek
- Repository
- 1 Watchers
- 2 Stars
- 23 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
hooks
PHP Hooks System, (*1)
Installing
Install using Composer., (*2)
$ composer require skopek/hooks
Usage Action
$hooks = new Skopek\Hooks\Manager;
$hooks->action->add("header", function() {
echo "Hello!";
});
$hooks->action->run("header");
Usage Filter
$hooks = new Skopek\Hooks\Manager;
$hooks->filter->add("header", function($value) {
return $value . " World!";
});
echo $hooks->filter->apply("header", "Hello");
dev-master
9999999-dev
PHP Hooks System
Sources
Download
MIT
The Development Requires
by
Mateusz Skopowski
filter
action
hooks
v0.2.1
0.2.1.0
PHP Hooks System
Sources
Download
MIT
The Development Requires
by
Mateusz Skopowski
filter
action
hooks
v0.2
0.2.0.0
PHP Hooks System
Sources
Download
MIT
The Development Requires
by
Mateusz Skopowski
filter
action
hooks
v0.1
0.1.0.0
PHP Hooks System
Sources
Download
MIT
The Development Requires
by
Mateusz Skopowski
filter
action
hooks