This is a basic PHP File Generator library where you supply a schematic (json file or array) and it can produce a PHP files.
- Namespaces
- Uses
- Aliases
- Class
- Types
- Names
- Extends
- Implements
- Uses
- Properties
- Visibility
- Defaults
- Methods
- Visibility
- Args
- Typehints
- Defaults
- References
$schema = new \YeTii\PhpFile\Schematic();
$schema->read('schematic.json')->out('output.php');
// or
$data = [ /* schematic rules */ ];
$schema->read($data)->out('output.php');
- Indenting + Indenting Control
- More (fucking look yourself)