Home > other >  Composer when installing one package is what the require XXX will update other packages
Composer when installing one package is what the require XXX will update other packages

Time:01-19



I understand the composer of the require XXX will only install the package, but why will update other rely on



CodePudding user response:


There are dependencies between these packages, one package depends on nesbot/carbon, such as illuminate/support, update so you can see a lot of,
Believe that the composer won't give you make a mistake!

CodePudding user response:


There are dependencies between these packages, one package depends on nesbot/carbon, such as illuminate/support, update so you can see a lot of,
Believe that the composer won't give you make a mistake!

CodePudding user response:


But why this package downgraded

CodePudding user response:


This is the command I install this package
And this is my project composer. Json, I use a lumen

CodePudding user response:


I found the answer in this article the Wiki: Laravel installation and development environment: modify the project relies on for the new mirror address

CodePudding user response:

The lock
1. Delete the composer.2. Clear the composer cache: composer clear - cache
3. Update the lock composer update - lock
4. The composer again the require
  • Related