How does composer update the project? update is just updating the package.

for example, create a project through the project package topthink/think

composer create-project topthink/think=5.0.* tp5  --prefer-dist

if you use composer update only to update the package in the project, composer show can only view the version information of the dependent package, but not the project itself.

so here comes the problem:

  1. how do I update the project instead of the package below?
  2. how do I view project information (version) instead of package information?
Jul.13,2022

I also want to know the answer to this question. If you find the answer, please let me know

.
Menu