Download the PHP package baagee/php-onion without Composer
On this page you can find all versions of the php package baagee/php-onion. 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 php-onion
php-onion 洋葱结构
php onion layer
可以利用它来做中间件,action之前做请求拦截,验证登陆,权限,或者action之后的一些逻辑
图示例:
图片源至koa的官方图
使用示例:
首先定义要经过层
使用
运行结果
All versions of php-onion with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package baagee/php-onion contains the following files
Loading the files please wait ....