{"id":28926303,"url":"https://github.com/quintenmbusiness/phpastcodegenerationhelper","last_synced_at":"2025-08-04T20:14:34.159Z","repository":{"id":264921080,"uuid":"894660417","full_name":"quintenmbusiness/PhpAstCodeGenerationHelper","owner":"quintenmbusiness","description":"A PHP library for generating Abstract Syntax Tree (AST) nodes programmatically, simplifying code generation with nikic/php-parser.","archived":false,"fork":false,"pushed_at":"2024-12-15T00:55:30.000Z","size":768,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-15T01:32:05.937Z","etag":null,"topics":["ast","code-generation","development-tool","generation","nikic-php-parser","php"],"latest_commit_sha":null,"homepage":"https://quintenmbusiness.github.io/PhpAstCodeGenerationHelper/","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/quintenmbusiness.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2024-11-26T18:48:40.000Z","updated_at":"2024-12-15T00:54:30.000Z","dependencies_parsed_at":"2024-12-15T01:26:08.393Z","dependency_job_id":"f92ecdb0-3468-4722-b38a-8c6e5693da39","html_url":"https://github.com/quintenmbusiness/PhpAstCodeGenerationHelper","commit_stats":null,"previous_names":["quintenmbusiness/phpastcodegenerationhelper"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/quintenmbusiness/PhpAstCodeGenerationHelper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintenmbusiness%2FPhpAstCodeGenerationHelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintenmbusiness%2FPhpAstCodeGenerationHelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintenmbusiness%2FPhpAstCodeGenerationHelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintenmbusiness%2FPhpAstCodeGenerationHelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quintenmbusiness","download_url":"https://codeload.github.com/quintenmbusiness/PhpAstCodeGenerationHelper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quintenmbusiness%2FPhpAstCodeGenerationHelper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261289434,"owners_count":23136071,"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":["ast","code-generation","development-tool","generation","nikic-php-parser","php"],"created_at":"2025-06-22T12:09:40.734Z","updated_at":"2025-08-04T20:14:34.130Z","avatar_url":"https://github.com/quintenmbusiness.png","language":"PHP","readme":"\n# PHP AST Code Generation Helper\n\n[![Latest Stable Version](https://img.shields.io/packagist/v/quintenmbusiness/php-ast-code-generation-helper)](https://packagist.org/packages/quintenmbusiness/php-ast-code-generation-helper)  \n[![Total Downloads](https://img.shields.io/packagist/dt/quintenmbusiness/php-ast-code-generation-helper)](https://packagist.org/packages/quintenmbusiness/php-ast-code-generation-helper)  \n[![License](https://img.shields.io/github/license/quintenmbusiness/PhpAstCodeGenerationHelper)](https://github.com/quintenmbusiness/PhpAstCodeGenerationHelper/blob/master/LICENSE)  \n[![Coverage Status](https://coveralls.io/repos/github/quintenmbusiness/PhpAstCodeGenerationHelper/badge.svg)](https://coveralls.io/github/quintenmbusiness/PhpAstCodeGenerationHelper)\n\n---\n\n### **Introduction**\n\n`php-ast-code-generation-helper` is a utility package designed to simplify working with the abstract syntax trees (ASTs) generated by [nikic/php-parser](https://github.com/nikic/PHP-Parser). This package provides helper functions to streamline code generation, allowing developers to create PHP code programmatically with ease.\n\nWhether you're building a code generation tool, refactoring engine, or educational AST visualization tool, this package has you covered!\n\n---\n\n## **Features**\n\n- 🛠 **Simplified AST Node Creation**: Generate PHP classes, methods, properties, and more using intuitive helper methods.\n- 🚀 **Nikic PHP-Parser Integration**: Seamlessly integrates with the AST generated by `nikic/php-parser`.\n- 📜 **Readable and Maintainable Code**: Focus on what to generate, not how to build the AST nodes.\n- 🧩 **Customizable**: Extend and customize the helpers to suit your project requirements.\n\n---\n\n## **Installation**\n\nInstall the package via Composer:\n\n```bash\ncomposer require quintenmbusiness/php-ast-code-generation-helper\n```\n\nFor development environments:\n\n```bash\ncomposer require --dev quintenmbusiness/php-ast-code-generation-helper\n```\n\n---\n\n## **Usage**\n\nFor complete details and advanced examples, check out the [Wiki](https://github.com/quintenmbusiness/PhpAstCodeGenerationHelper/wiki/PHP-AST-Code-Generation-Helper-%E2%80%90-Wiki-Homepage).\n\n---\n\n## **Stats**\n\n### Packagist Statistics\n- **Total Downloads**: ![Total Downloads](https://img.shields.io/packagist/dt/quintenmbusiness/php-ast-code-generation-helper)\n- **Monthly Downloads**: ![Monthly Downloads](https://img.shields.io/packagist/dm/quintenmbusiness/php-ast-code-generation-helper)\n\n---\n\n## **Contributing**\n\nWe welcome contributions! Please submit a pull request or open an issue for any bugs or features you'd like to see.\n\n1. Fork the repository.\n2. Create your feature branch: `git checkout -b feature/your-feature`.\n3. Commit your changes: `git commit -am 'Add new feature'`.\n4. Push to the branch: `git push origin feature/your-feature`.\n5. Open a pull request.\n\n---\n\n## **Support**\n\nIf you find this package useful, consider supporting its development:\n- [GitHub Sponsors](https://github.com/sponsors/quintenmbusiness)\n\n---\n\n## **Acknowledgments**\n\n- Thanks to [nikic/php-parser](https://github.com/nikic/PHP-Parser) for the excellent AST parsing library.\n","funding_links":["https://github.com/sponsors/quintenmbusiness"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquintenmbusiness%2Fphpastcodegenerationhelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquintenmbusiness%2Fphpastcodegenerationhelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquintenmbusiness%2Fphpastcodegenerationhelper/lists"}