Source: medium.com

The composer way.
If you are a PHP Developer in 2020, you don’t have any excuses to use composerimproperly. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you Composer is a gift of god, maybe even a religious thing, I know, but you have to understand several commands in order to respect the other team members as well as the whole project.

In a production environments it’s important to use composer install --no-dev to exclude all packages used in developing process.

When you use composer update you should know what might happen.
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