SkillAgentSearch skills...

PhpGenerator

Yet another but simple easy to use PHP source code generator

Install / Use

/learn @WsdlToPhp/PhpGenerator
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PhpGenerator, a Real PHP source code generator

PhpGenerator helps to generate PHP source code

License Latest Stable Version TeamCity build status Scrutinizer Code Quality Code Coverage Total Downloads StyleCI SymfonyInsight

Even if this project is yet another PHP source code generator, its main goal is to provide a consistent PHP source code generator for the PackageGenerator project. Nevertheless, it also aims to be used for any PHP source code generation process as it generates standard PHP code.

Rest assured that it is not tweaked for the purpose of the PackageGenerator project.

Main features

This project contains two main features:

  • Element: generate basic elements
  • Component: generate structured complex elements

Testing using Docker

Thanks to the Docker image of phpfarm, tests can be run locally under any PHP version using the cli:

  • php-7.4

First of all, you need to create your container which you can do using docker-compose by running the below command line from the root directory of the project:

$ make up

You then have a container named php_generator in which you can run composer commands and php cli commands such as:

# install deps in container (using update ensure it does use the composer.lock file if there is any)
$ make update
# run tests in container
$ make phpunit

FAQ

If you have a question, feel free to create an issue.

License

The MIT License (MIT). Please see License File for more information.

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated16d ago
Forks5

Languages

PHP

Security Score

90/100

Audited on Mar 21, 2026

No findings