This script is for Slackware 14.1 only and may be outdated.

SlackBuilds Repository

14.1 > Python > phply (0.9.1)

phply is a lexer and parser for the PHP programming language written in
Python.

Included tools installed to /usr/bin:

phpshell.py - PHP interactive interpreter written in Python

php2json.py - Converts PHP to a JSON-based abstract syntax tree
Usage: php2json.py < input.php > output.json

php2python.py - Converts PHP to Python using unparse.py
Usage: php2python.py < input.php > output.py

php2jinja.py - Converts PHP to Jinja2 templates (experimental)
Usage: php2jinja.py < input.php > output.html

This requires: ply, pysetuptools, simplejson

Maintained by: Brenton Earl
Keywords: php,lexer,parser
ChangeLog: phply

Homepage:
https://github.com/ramen/phply

Source Downloads:
phply-0.9.1.tar.gz (f336ab9d35bd9c0f0a50ede3252b12ba)

Download SlackBuild:
phply.tar.gz
phply.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.1

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds