How to use phply? ----------------- For the lexer test execute in a shell: $ phplex /path/to/file_name.php For the parser test execute in a shell: $ phpparse /path/to/file_name.php For the JSON dump: $ cd /usr/doc/phply-$VERSION/tools $ python ./php2json.py < input.php > output.json For the Jinja2 converter: $ cd /usr/doc/phply-$VERSION/tools $ python ./php2jinja.py output.html