-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to the 'show' command to show the source repository #11733
Comments
In the meantime, this gives some idea, though it shows where the code comes from rather than the package repository - e.g. most things on packagist.org have their source on github. But some further judicious filtering could for example show things from a private packagist:
It's very slow though! |
The problem is once the package is installed we do not really know where it came from. We'd have to resolve this from composer.json, but we cannot give you the info for what is already installed or what is in the lock file. What I can think of to surface this information is to do it in very verbose (-vv) updates, then you can get the full info by deleting the lock file and doing an update
See #11763 |
When working with a project which has multiple Composer repositories, it would be useful to be able to get an overview of which packages come from where.
AFAICT the
show
command doesn't have this option. It would be useful to add:The text was updated successfully, but these errors were encountered: