Package Support provides an automated way of checking versions of the project dependencies and displays warnings/errors
based on its configuration. Unlike other commands like composer outdated
you are getting detailed information about the
end of life, security support and deprecations of the current version of your package dependencies.
Package Support is not used to detect the new versions of your dependencies.
PHP needs to be a minimum version of PHP 5.3.9.
Download the package-support.phar file and store it somewhere on your computer.
composer require --dev falnyr/package-support
To install Package Support, install Composer and issue the following command:
composer global require falnyr/package-support
Then make sure you have the global Composer binaries directory in your PATH
. This directory is platform-dependent, see Composer documentation for details. Example for some Unix systems:
export PATH="$PATH:$HOME/.composer/vendor/bin"
package-support check -p 5 -s --no-dev composer.lock
Precision | Status | Description |
---|---|---|
- | Supported | Currently used version is supported |
5 | Outdated | Official support ends in < 2 months |
4 | Deprecated | Official support ended, security fixes available |
3 | Legacy | Security fixes end in < 3 months |
2 | Vulnerable | Security support ended |
1 | Discontinued | Project abandoned |
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE file for details