Web Development
24-11-2023

How to check outdated packages in Composer

Dmytro Tus
Full Stack Web developer

Sometimes you opened your old PHP project, and the good practivce is to updated the packages, and first of all to see, which packages are outdated, which last version is available. Is the newest version just a patch or major update.

composer outdated

Is will show the list of outdated packages

Also there is a command

composer show -l

It will show the complete list of packages. 
The packages which are needed to update are colored red.


Another posts