简体   繁体   中英

How to find all php-pear usages in a PHP project?

We are having this large PHP Project. There is php-pear installed, via

apt-get install

We got no clue for what we needed that for.

Now we need to find out if any PEAR-related class/method/function is in use in the PHP project.

Thing is, as I mentioned, it's a huge project and I joined the project a year ago, that's why I got no clue how many of the features that come with the apt-get packages are in use.

Used IDE is PhpStorm, just in case, there is a feature to accomplish this.

So if there's any command we could use on the Linux shell or anything we could do on PhpStorm, I'd be grateful for any hint.

  1. Find out which pear packages have been installed with pear list
  2. Search for classes beginning with the package name, eg XML_Util (In PEAR, all classes must be prefixed with the package name).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM