Composer guides
How to read a composer.lock, find outdated packages, deal with security advisories and check for breaking changes before you update.
-
What is composer.lock, and should you commit it?
What composer.lock records, how it differs from composer.json, when Composer reads or rewrites it, and why an application should commit it.
-
How to find outdated Composer packages
Use composer outdated to list packages with newer releases, read its colours and options, and decide which updates to do first.
-
composer audit: check your PHP dependencies for security advisories
What composer audit checks, where its advisories come from, how to read the result, and what to do when one of your packages is affected.
-
How to check for breaking changes before composer update
Semantic versioning, upgrade guides and release notes: how to find out what a major update of Laravel, Symfony or any Composer package breaks before you run it.