composer-versions-check is a plugin for Composer.
It warns user for outdated packages from last major versions after update command.
You can install it either globally (recommended):
composer global require stepanenko3/composer-versions-check
or locally (as require-dev dependency then):
composer require --dev stepanenko3/composer-versions-check
That's it! Composer will enable automatically the plugin as soon it's installed.
Just run composer update
command to see the plugin working.
You can configure the plugin via the COMPOSER_HOME/config.json
file. Here is the default one:
{
"config": {
"stepanenko3-composer-versions-check": {
"root-packages-only": false,
"show-links": false,
"vendor": "laravel"
}
}
}
ignore-sub-dependencies
: Shows only outdated root packages.show-links
: Shows outdated package links. Set totrue
to get a larger output, like the demo.vendor
: Limits the output to a specific vendor/provider.