About PHP-front
Static analysis for PHP
Features
PHP-front is a package you can use to generate, analyse, or transform PHP code. It contains a handcrafted SDF grammar for PHP, a handcrafted pretty printer, an extensive library for reflecting over PHP code, and support for evaluation of PHP.
Some of the unique features of PHP-front are:
- Modular and extensible syntax definition for PHP for versions 4 and 5
- Option to preserve comments
- Pretty printer
- Automatic inclusion of files
- PHP-specific, common traversals
- Reflection support
- Conversion of abstract syntax tree to XML possible
Tools
Tools that are included in the package are:
- parse-php
- parse-php4, parse-php5
- pp-php
- pp-php4, pp-php5
- eval-php
Project Info
Contributors:
- Eric Bouwers
- Martin Bravenboer
Feedback and bug reports:
- Armijn Hemel
- Tim Hemel
- Eelco Visser
Sponsors:
- Google Summer of Code 2006
License:
- PHP-Front is LGPL (GNU Lesser General Public License) software.
Projects that use PHP-Front