diff options
author | Brenton Earl <brent@exitstatusone.com> | 2018-03-18 09:04:26 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-24 06:50:29 +0700 |
commit | b5b0b0e5956dff7ac905b0d07a9bb0f437a50849 (patch) | |
tree | 78490da1db31d3c21ba53df2f21c874db2899bd9 /python/phply/README.Slackware | |
parent | bc1b35cf4ebc1ec763ac3a21979396fcb91350e4 (diff) | |
download | slackbuilds-b5b0b0e5956dff7ac905b0d07a9bb0f437a50849.tar.gz |
python/phply: Updated for version 1.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/phply/README.Slackware')
-rw-r--r-- | python/phply/README.Slackware | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/phply/README.Slackware b/python/phply/README.Slackware index 16d2e14bea..d2b5afec72 100644 --- a/python/phply/README.Slackware +++ b/python/phply/README.Slackware @@ -8,3 +8,13 @@ $ 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 <input.php > output.html |