zend-code provides tools for scanning, reflecting, and generating PHP code files.
https://github.com/zendframework/zend-code
latest