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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners