phply is a parser for the PHP programming language written using PLY, a Lex/YACC-style parser generator toolkit for Python.