{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"phply is a lexer and parser for PHP source code that generates abstract syntax trees, enabling PHP code analysis and conversion to other formats like JSON or Jinja2 templates.","skillfed_tags":["parser-generator","code-analysis","language-tools"],"use_cases":["Analyze PHP source code structure and generate ASTs for static analysis tools","Convert legacy PHP templates to Jinja2 for use in Python web frameworks","Build PHP-to-Python code migration or transpilation tools","Study parsing techniques for complex, real-world language grammars","Extract metadata or patterns from PHP codebases programmatically"],"what_it_does":"phply is a PHP parser built on ply, a lexer/parser generator toolkit. It tokenizes PHP source code and builds abstract syntax trees that represent the program structure. The package includes a lexer that matches PHP's standard token set and a parser covering most of the PHP grammar, plus utility scripts to dump ASTs as JSON or convert PHP templates to Jinja2.\n\nThe parser is designed for analysis and transformation tasks\u2014converting PHP code to Python, running PHP templates in Python environments, or studying how industrial languages handle parsing edge cases. It is not a PHP runtime. The package is in a stable but abandoned state; while it has no known vulnerabilities, it receives no active maintenance and will not track PHP language evolution.","worth_installing":"Yes, if you need to parse PHP code for analysis or conversion and can accept that the parser may not handle very recent PHP syntax. The low install friction and permissive license make it accessible. No, if you require active maintenance, support for modern PHP versions, or a runtime environment\u2014phply is abandoned and will not evolve with the PHP language."},"id":"phply","links":{"html":"https://skillfed.io/packages/phply","md":"https://skillfed.io/packages/phply.md","pypi":"https://pypi.org/project/phply/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-01-06","license_spdx":null,"license_treatment":"permissive","name":"phply","python_support":"unspecified","summary":"Lexer and parser for PHP source implemented using PLY"},"popularity":{"monthly_downloads":183782,"position":10058,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.6"}
