May-16-2018, 12:03 PM
This is my new lib, which parses PHP source code and finds declarations of functions/classes/namespaces. It gives result items as dicts, with levels (level is driven by {} brackets). It parses correctly: comments, strings, php heredoc. Useful for my proj.
https://github.com/Alexey-T/pyPhpTree
https://github.com/Alexey-T/pyPhpTree