Source: medium.com

Composer 2.0 released

Category: PHP

The new composer version is available with a lot of new functionalities. Today you can find an incredible number of packages on GitHub, and with one command, you can install them in your project.

For updating your Composer, you need to open the terminal (if you have a global installation) and run one of the following commands: The performance was improved in this release.

For this to work, you need to add the COMPOSER_DISABLE_NETWORK=1 when running the commands: or set it in your environment variables. You will see messages indicating that you are running it in an offline mode: besides that, you will see a message for packages that are not cached: This option was already available when running.
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