Skip to content

ryanhs/hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook

small hook library

Installation

you can download this with composer (packagist)

composer require ryanhs/hook

example 1

require 'vendor/autoload.php'; // composer autoload

use \Ryanhs\Hook\Hook;

Hook::on('init', function(){ echo 'hello'; });
/*
.
.
.
*/

Hook::call('init');

License

MIT License

About

Simple hook library in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages