How to know if a package is actually being used ?

#1
We have a lot of composer packages in our application and we are trying to get rid of unused packages. Right now I’m going to each dependency’s GitHub documentation and find it’s usage and search for the same references in my application. I’m wondering if there’s any other way to check if a package is actually being used in the code.

Thanks
 
Top