You can define PHP dependencies and extensions on PEAR PHP_CompatInfo . As for the PEAR packages that the application can use, you can see what is installed with
pear list -a
I do not know a tool that will tell you which external script dependencies are used other than grep.
source
share