edspc / composer-ignore-platform-req-env-plugin
Add env variables to ignore platform-req.
Installs: 238
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
README
Add environment variables to ignore platform-req.
Installation:
Requires Composer 2.
Install globally:
composer global require edspc/ignore-env-composer-plugin
This plugin adds functionality to ignore platform requirements (php
, hhvm
, lib-*
and ext-*
) for require
, update
, install
operations.
It works just like options --ignore-platform-reqs
or --ignore-platform-req
for those ops.
Env variable name – COMPOSER_IGNORE_PLATFORM_REQ
.
Possible values:
1
,all
,full
– ignoring ALL requirements;- space-separated string of requirements to ignore.