wmotti/deprecations

Check a version against a constraint

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:composer-plugin

v0.1.3 2018-12-03 10:37 UTC

This package is auto-updated.

Last update: 2024-09-29 05:21:29 UTC


README

local

composer require wmotti/deprecations

global

composer global require wmotti/deprecations

Specification file

filename

Default filename is deprecated_packages.json, but custom specification file can be used: composer deprecations -f custom_deprecations.json

example
{
    "packages": [
        {
            "name": "<package_name>",
            "deprecations": [
                {
                    "version": "<composer version constraint>",
                    "reason": "blah blah blah",
                    "resources": [
                        "<explanatory_blog_page_url>",
                        "<github_issue_url>"
                    ]
                }
            ]
        }
    ],
    "_meta": {
        "file_format": "2"
    }
}