falnyr / package-support

Check version support of PHP packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package Support

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.

Requirements

PHP needs to be a minimum version of PHP 5.3.9.

Installation

Locally (Manual)

Download the package-support.phar file and store it somewhere on your computer.

Locally (Composer)

composer require --dev falnyr/package-support

Globally

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"

Usage

package-support check -p 5 -s --no-dev composer.lock

Available precisions

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

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Check version support of PHP packages

License:MIT License


Languages

Language:PHP 99.4%Language:Makefile 0.6%