We need a basic PHP source code parser to be written in QT language. For a given set of PHP source code files(provided by the user) the parser must be able to enlist(depending up on query) as output all classes defined in the code, all functions , different objects of each class and in which files they are created. Parser must be able to create a tree for functions which enlists the other functions called by the function and the parent functions which call the current function. Also, we need to enlist all the variables defined in the source code files and there data type respectively.
This is a project that has multiple stages. It is its first stage. We would prefer someone who is expert in QT and has the knowledge of PHP grammer. For PHP source code files reference of codeigniter framework should be taken. We'd appreciate if the code be written in most generic form.