wmotti / deprecations
Check a version against a constraint
v0.1.3
2018-12-03 10:37 UTC
Requires
- composer-plugin-api: ^1.1
This package is auto-updated.
Last update: 2026-03-01 00:26:23 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"
}
}