Download the PHP package ayflying/plugin without Composer
On this page you can find all versions of the php package ayflying/plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package plugin
plugin是一个自动插件类,可以不依赖其他框架在页面中插入钩子
下载
composer require ayflying/plugin
使用
use Ayflying\Plugin;
new Hook(__DIR__.'/plugin');
添加钩子
Hook::add('ceshi',function(){
echo '挂载点1<br />';
});
运行钩子
Hook::listen('ceshi');
All versions of plugin with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package ayflying/plugin contains the following files
Loading the files please wait ....