{"id":23050328,"url":"https://github.com/wsdltophp/phpgenerator","last_synced_at":"2025-06-25T15:06:09.636Z","repository":{"id":57082544,"uuid":"36832375","full_name":"WsdlToPhp/PhpGenerator","owner":"WsdlToPhp","description":"Yet another but simple easy to use PHP source code generator","archived":false,"fork":false,"pushed_at":"2025-05-02T04:42:44.000Z","size":249,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-06-25T15:05:10.431Z","etag":null,"topics":["generator","php-library","php-source"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WsdlToPhp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-06-03T21:45:29.000Z","updated_at":"2025-05-02T04:42:44.000Z","dependencies_parsed_at":"2025-06-25T15:05:20.239Z","dependency_job_id":null,"html_url":"https://github.com/WsdlToPhp/PhpGenerator","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/WsdlToPhp/PhpGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FPhpGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FPhpGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FPhpGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FPhpGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WsdlToPhp","download_url":"https://codeload.github.com/WsdlToPhp/PhpGenerator/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WsdlToPhp%2FPhpGenerator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261896992,"owners_count":23226646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["generator","php-library","php-source"],"created_at":"2024-12-15T23:31:47.539Z","updated_at":"2025-06-25T15:06:09.608Z","avatar_url":"https://github.com/WsdlToPhp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhpGenerator, a Real PHP source code generator\n\n\u003e PhpGenerator helps to generate PHP source code\n\n[![License](https://poser.pugx.org/wsdltophp/phpgenerator/license)](https://packagist.org/packages/wsdltophp/phpgenerator)\n[![Latest Stable Version](https://poser.pugx.org/wsdltophp/phpgenerator/version.png)](https://packagist.org/packages/wsdltophp/phpgenerator)\n[![TeamCity build status](https://teamcity.mikael-delsol.fr/app/rest/builds/buildType:id:PhpGenerator_Build/statusIcon.svg)](https://github.com/WsdlToPhp/PhpGenerator)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/WsdlToPhp/PhpGenerator/badges/quality-score.png)](https://scrutinizer-ci.com/g/WsdlToPhp/PhpGenerator/)\n[![Code Coverage](https://scrutinizer-ci.com/g/WsdlToPhp/PhpGenerator/badges/coverage.png)](https://scrutinizer-ci.com/g/WsdlToPhp/PhpGenerator/)\n[![Total Downloads](https://poser.pugx.org/wsdltophp/phpgenerator/downloads)](https://packagist.org/packages/wsdltophp/phpgenerator)\n[![StyleCI](https://styleci.io/repos/36832375/shield)](https://styleci.io/repos/36832375)\n[![SymfonyInsight](https://insight.symfony.com/projects/a384481c-01ba-4c20-a8c6-a4d852ee7985/mini.svg)](https://insight.symfony.com/projects/a384481c-01ba-4c20-a8c6-a4d852ee7985)\n\nEven 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](https://github.com/WsdlToPhp/PackageGenerator) project. Nevertheless, it also aims to be used for any PHP source code generation process as it generates standard PHP code.\n\nRest assured that it is not tweaked for the purpose of the [PackageGenerator](https://github.com/WsdlToPhp/PackageGenerator) project.\n\n## Main features\nThis project contains two main features:\n\n- [Element](src/Element/README.md): generate basic elements\n- [Component](src/Component/README.md): generate structured complex elements\n\n## Testing using [Docker](https://www.docker.com/)\nThanks to the [Docker image](https://hub.docker.com/r/splitbrain/phpfarm) of [phpfarm](https://github.com/fpoirotte/phpfarm), tests can be run locally under *any* PHP version using the cli:\n- php-7.4\n\nFirst of all, you need to create your container which you can do using [docker-compose](https://docs.docker.com/compose/) by running the below command line from the root directory of the project:\n```bash\n$ docker-compose up -d --build\n```\n\nYou then have a container named `php_generator` in which you can run `composer` commands and `php cli` commands such as:\n```bash\n# install deps in container (using update ensure it does use the composer.lock file if there is any)\n$ docker exec -it php_generator php-7.4 /usr/bin/composer update\n# run tests in container\n$ docker exec -it php_generator php-7.4 -dmemory_limit=-1 vendor/bin/phpunit\n```\n\n## FAQ\n\nIf you have a question, feel free to [create an issue](https://github.com/WsdlToPhp/PhpGenerator/issues/new).\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsdltophp%2Fphpgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwsdltophp%2Fphpgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwsdltophp%2Fphpgenerator/lists"}