I need a list of all my PHP classes and the files they are in - can I do this in the Netbeans IDE?

I am developing PHP using Netbeans as my IDE. I do not sell it 100%, so my question can be answered in terms of Netbeans or another IDE or tool.

I have really been working more with oops lately in PHP. I am becoming more complex in my project, and I basically put each class in its own file. However, I still lose focus on my code, as there are so many files, and some of my classes are really tests. I cannot easily tell the difference between real classes or what are just tests that I no longer refer to.

I would like some tree or listing to show all classes, starting with index.php and working through each used class / file.

+3
source share
2 answers

I used Netbeans only for a small small J2ME project, so I know little about its work. But in the PHP editor I use Codelobster PHP Edition, there is a tab to the left of the page where you can have different views, such as the project view (all folders and the file of the current project in the form of a tree), file view (divided by resource type: vars, functions, interfaces, ...), as well as a class representation, which shows the entire method of all classes within your project, sorted alphabetically. I don’t know if you understand something like this, in case you can try it, it's free.

0

PHPdoc? .

, , , !

+1

Source: https://habr.com/ru/post/1788909/


All Articles