library code-generator
A library that allows easy generation and modification of PHP source files
dbstudios/code-generator
A library that allows easy generation and modification of PHP source files
- Wednesday, January 3, 2018
- by LartTyler
- Repository
- 1 Watchers
- 0 Stars
- 8 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
Installation
$ composer require dbstudios/code-generator
Usage
All components support a setTargetPHPVersion()
method, which can be used to specify the
PHP Version ID that the generated code will
run on., (*1)
<?php
use DaybreakStudios\CodeGenerator\Member\Property\PropertyGenerator;
$property = new PropertyGenerator('myProp');
$property->setVersion(50627);
In the above example, the generated property will be compatible with PHP 5.6.27 (and higher, wherever possible)., (*2)
dev-master
9999999-dev
A library that allows easy generation and modification of PHP source files
Sources
Download
GPL-3.0
0.3.0
0.3.0.0
A library that allows easy generation and modification of PHP source files
Sources
Download
GPL-3.0
0.2.0
0.2.0.0
A library that allows easy generation and modification of PHP source files
Sources
Download
GPL-3.0
0.1.0
0.1.0.0
A library that allows easy generation and modification of PHP source files
Sources
Download
GPL-3.0