php-code-generator icon indicating copy to clipboard operation
php-code-generator copied to clipboard

A library to generate PHP 7.4 code

Results 12 php-code-generator issues
Sort by recently updated
recently updated
newest added

Great tool, thanks. what do you think about tagging a new release that generates 8.2 code? PHP 7 and 8.0 is EOL, PHP 8.1 is security fixes only. https://www.php.net/supported-versions.php Big...

Add feature to be able to add declare on PhpFile such as strict_type easily. For the feature request: https://github.com/murtukov/php-code-generator/issues/15

This will add possibility to have trait and interface in PhpFile as well, which is necessary for creation of files. To add feature: https://github.com/murtukov/php-code-generator/issues/14

This is to resolve the problem mentioned on: https://github.com/murtukov/php-code-generator/issues/12

This will add the new abstract function support for trait and classes to resolve: https://github.com/murtukov/php-code-generator/issues/13

Abstract function is not supported in an abstract class or in a trait. I'll do a PR for it.

Default value property checker is not good enough as 0 empty string and many other default values will not be generated at all. I will do a PR for it.