ghostwriter / syntax
Lexical Analysis library for PHP
Maintainers
Details
Fund package maintenance!
ghostwriter
Requires
- php: >=8.3
- ghostwriter/case-converter: ^1.0.0
- ghostwriter/collection: ^2.0.0
- ghostwriter/container: ^4.0.2
- ghostwriter/event-dispatcher: ^5.0.2
- ghostwriter/json: ^3.0.0
- ghostwriter/option: ^1.5.1
- ghostwriter/result: ^1.3.0
Requires (Dev)
- ghostwriter/coding-standard: dev-main
This package is auto-updated.
Last update: 2024-10-10 11:27:48 UTC
README
Lexical Analysis library for PHP (Lexer, Tokenizer, Parser, Generator)
Warning
This project is not finished yet, work in progress.
Installation
You can install the package via composer:
composer require ghostwriter/syntax
Usage
// work in progress
Commands
# This is for development; dogfooding to parse and generate the AST for test fixture files. syntax /path/to/file.php # -s|--save: Save or Update the AST of the PHP file as JSON file ['file.php => file.php.json'] in the same location.
Testing
composer test
Changelog
Please see CHANGELOG.md for more information what has changed recently.
Security
If you discover any security related issues, please email nathanael.esayeas@protonmail.com
instead of using the issue tracker.
Support
Credits
License
The BSD-3-Clause. Please see License File for more information.