Source: blog.laravel.com

Upgrading To Composer 2.0
Following the release of Composer 2 on October 24th, we wanted to share a guide on how to upgrade your servers to make the most of all the great benefits it brings. For existing servers, you should delete and recreate (if desired) the scheduled job within your Forge dashboard that updates your Composer installation every week. By default, Forge created this job with the "--1" flag, which instructs Composer to not upgrade to 2.0.

To upgrade, the following command should be executed: This will instruct Composer to update itself and specifically select version 2.

If your application is not compatible with Composer 2, you can roll back to Composer 1 at any time: Software Developer at Laravel.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners