A list of frequently used Composer commands.

· · 1 year ago

Get package info


Show only the installed version of a package
composer show "packagename/package-name"

Pull all available versions of the package
composer show "packagename/packagename" --all

Get list of packages that are not the latest version
composer outdated