Download the PHP package quintenmbusiness/php-ast-code-generation-helper without Composer
On this page you can find all versions of the php package quintenmbusiness/php-ast-code-generation-helper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download quintenmbusiness/php-ast-code-generation-helper
More information about quintenmbusiness/php-ast-code-generation-helper
Files in quintenmbusiness/php-ast-code-generation-helper
Package php-ast-code-generation-helper
Short Description A PHP library for generating Abstract Syntax Tree (AST) nodes programmatically, simplifying code generation with nikic/php-parser.
License MIT
Informations about the package php-ast-code-generation-helper
PHP AST Code Generation Helper
Introduction
php-ast-code-generation-helper
is a utility package designed to simplify working with the abstract syntax trees (ASTs) generated by nikic/php-parser. This package provides helper functions to streamline code generation, allowing developers to create PHP code programmatically with ease.
Whether you're building a code generation tool, refactoring engine, or educational AST visualization tool, this package has you covered!
Features
- 🛠 Simplified AST Node Creation: Generate PHP classes, methods, properties, and more using intuitive helper methods.
- 🚀 Nikic PHP-Parser Integration: Seamlessly integrates with the AST generated by
nikic/php-parser
. - 📜 Readable and Maintainable Code: Focus on what to generate, not how to build the AST nodes.
- 🧩 Customizable: Extend and customize the helpers to suit your project requirements.
Installation
Install the package via Composer:
For development environments:
Usage
For complete details and advanced examples, check out the Wiki.
Stats
Packagist Statistics
- Total Downloads:
- Monthly Downloads:
Contributing
We welcome contributions! Please submit a pull request or open an issue for any bugs or features you'd like to see.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/your-feature
. - Commit your changes:
git commit -am 'Add new feature'
. - Push to the branch:
git push origin feature/your-feature
. - Open a pull request.
Support
If you find this package useful, consider supporting its development:
Acknowledgments
- Thanks to nikic/php-parser for the excellent AST parsing library.