library hooks
PHP Hooks System
daniellucia/hooks
PHP Hooks System
- Tuesday, March 20, 2018
- by daniel.lucia
- Repository
- 1 Watchers
- 0 Stars
- 14 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 6 Versions
- 0 % Grown
hooks
PHP Hooks System, (*1)
Installing
Install using Composer., (*2)
$ composer require daniellucia/hooks
Usage Action
$hooks = new daniellucia\Hooks\Manager;
$hooks->action->add("header", function() {
echo "Hello!";
});
$hooks->action->run("header");
Usage Filter
$hooks = new daniellucia\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.4
0.2.4.0
PHP Hooks System
Sources
Download
MIT
The Development Requires
by
Mateusz Skopowski
filter
action
hooks
v0.2.3
0.2.3.0
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