PHP-Parser
Verdancy/PHP-Parser
PHP
PHP-Parser is a PHP parser written in PHP, designed to make it easy to analyze and manipulate PHP code. It supports PHP versions 5.2 to 8.1 and can be used in a variety of contexts, such as code analysis and refactoring tools.