Check dependency/link between PHP files

Asked

Viewed 46 times

0

I have a legacy application where I work and I know there’s a lot of junk in the code. I need to delete these junk and leave only files that are actually in use.

Does anyone know any tools or techniques that can help with this? (check for links between files?

  • You can use recursiveness to scan all directories and go saving the name of the dependent files in use.

  • 1

    @Andreicoelho and whether the project uses autoload or some file is included dynamically? include($filepath).

  • @Andersoncarloswoss has rasão! XD

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.