While updating the composer you encounter an unknown and strange error “Laravel Composer Install, Don’t Install Laravel Framework”. That is happened due to mismatch of laravel version and the package version.

Sometimes package version is latest and laravel version is old or vice versa sometimes. Both needs to be latest or same version to support each other.

Possible Solution 1: Don’t Install Laravel/Framework

By running this command, it will revert or update the composer.json after that you can run composer update command to make the changes you want.

Possible Solution 2:

Follow the below steps to diagnose the problem.

  1. go to composer.json file
  2. look for packages which you don’t use
  3. remove them from the require list
  4. then run composer update

 

Conclusion

If you still need help regarding the issue of Laravel Composer Install, Don’t Install Laravel Framework, don’t hesitate to ask us in the comment.

 

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!