2017 © Pedro Peláez
 

library hooks

PHP Hooks System

image

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

The README.md

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");

The Versions

20/03 2018

dev-master

9999999-dev

PHP Hooks System

  Sources   Download

MIT

The Development Requires

by Mateusz Skopowski

filter action hooks

20/03 2018

v0.2.4

0.2.4.0

PHP Hooks System

  Sources   Download

MIT

The Development Requires

by Mateusz Skopowski

filter action hooks

11/03 2018

v0.2.3

0.2.3.0

PHP Hooks System

  Sources   Download

MIT

The Development Requires

by Mateusz Skopowski

filter action hooks

05/06 2016

v0.2.1

0.2.1.0

PHP Hooks System

  Sources   Download

MIT

The Development Requires

by Mateusz Skopowski

filter action hooks

23/04 2016

v0.2

0.2.0.0

PHP Hooks System

  Sources   Download

MIT

The Development Requires

by Mateusz Skopowski

filter action hooks

08/04 2016

v0.1

0.1.0.0

PHP Hooks System

  Sources   Download

MIT

The Development Requires

by Mateusz Skopowski

filter action hooks