I think SublimePHPIntel is a good reference for some of the Python code.

I couldn't get the plugin to work (see the github issue) but in looking at the source code, it doesn't appear to do much more than CTags for PHP would do. It doesn't appear to have any intelligence about which class you are completing. And I don't think it accounts for inheritance.