pentagonal / modular
Easy php module storage collector for small project
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/pentagonal/modular
Requires
- php: ^7.0
- ext-tokenizer: *
- pentagonal/array-store: ~1
- pentagonal/php-evaluator: ~1
Requires (Dev)
This package is not auto-updated.
Last update: 2025-10-12 10:28:41 UTC
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