Objektbrowser für PHP
-
10-10-2019 - |
Frage
Ich mag große Mengen an Code in PHP geschrieben durchsuchen und es wäre nützlich, um eine graphische Darstellung verschiedener Klassen und ihre Methoden zu haben.
Kennen Sie (frei) Werkzeuge, um dies möglich zu machen?
Lösung
Try this out http://bouml.free.fr/screenshots.html
Here's other references: PHP UML Generator
Andere Tipps
Try phpOBrowser.
If you use xDebug you can get visibility of all the objects currently in use at run-time.
I use NetBeans as my dev environment, and xDebug is built into that, so I can step through my code and browse the objects at any point while the code is running.
I don't know if that's the answer you're looking for, but it is a very useful way to see see exactly what's happening with your code.
Here's one that let's you paste serialized PHP and displays it in a treeview: https://github.com/jasonhinkle/php-object-browser