I am trying to implement the relevant parts of a payment system (by Paymill) into my plain PHP website. The problem is that the example project I am trying to learn from is not only coded in PHP OOP and MVC (I'm new to both concepts), but most probably in a framework, maybe in Symfony with so many dependencies that I find it hard to retrace the flow and single out the relevant parts (the payment process) for my own project. The login procedure alone jumps around between model-, view- and controller-files and -classes in a way that, if visualized, it would easily fill a DIN A4-sheet!
I would thus like to visualize the complete flow to gain a better overview and understanding of the project.
My questions are:
- is this a good approach?
- if yes: is there a way to have Netbeans visualize the flow automatically rather than me spending hours running through line by line in XDebug and draw the flow between the files / classes myself?
Many thanks in advance!