antfroger/PHP version action
An action to use the minimum and the latest version of PHP (as defined in composer.json) and build version matrix in between
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Directory containing your composer.json file | yes | . |
| unstable | Include unstable versions of PHP (beta, release candidates) | yes | false |
| unsupported | Include unsupported versions of PHP (EOL and no security support) | yes | true |
Outputs
| name | description |
|---|---|
| composer-php-version | The PHP version requirement from composer.json, f.e. >=8.1 <=8.4 |
| minimal | The minimum supported PHP version meeting the requirements, f.e. 8.1 |
| latest | The latest available PHP version meeting the requirements, f.e. 8.4 |
| matrix | A (stringified) array of PHP versions from min to latest, f.e. [8.1, 8.2, 8.3, 8.4] |