Web development basic and advance tutorial, php basic tutorial, laravel basic tutorial, React Native tutorial

Friday, August 13, 2021

Laravel Upgrading To Composer 2.0

0 comments

For those of you with just a few servers, connecting to the server and manually running the upgrade command is likely sufficient; however, if you have multiple servers that need upgrading, you can save yourself time by creating a recipe. To upgrade, the following command should be executed:

 composer self-update --2


This will instruct Composer to update itself and specifically select version 2. And that’s it, we’re done! If your application is not compatible with Composer 2, you can roll back to Composer 1 at any time:

composer self-update --1

No comments:

Post a Comment