pentagonal/modular
Composer 安装命令:
composer require pentagonal/modular
包简介
Easy php module storage collector for small project
README 文档
README
Easy php module storage collector for small project
| dev-master | 1.0.1 |
|---|---|
Embed the script without change the core.
just like as add-ons, plugins or whatever it names.
REQUIREMENTS
- Php 7.0 or later - Php tokenizer extension enabled - `spl` enabled - function `eval` allowed (for validate php file - optional)
USAGE
<?php use Pentagonal\Modular\Reader; $reader = new Reader('/Path/To/Directory'); $reader->configure(); $modules = $reader->getValidModules(); // init all module foreach ($modules as $moduleIdentifier => $module) { // initialize per module // this only called once on module base $module->finalInitOnce(); }
LIBRARIES
LICENSE
MIT LICENSE
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-14