ramsey/Install PHP Dependencies with Composer
Installs and caches PHP dependencies with Composer, accepting arguments to configure how and what to install.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dependency-versions | The version of dependencies to prefer (`lowest`, `highest`, or `locked`). | yes | locked |
| composer-options | Additional options to pass to Composer (e.g. `--ignore-platform-reqs`). | no | — |
| working-directory | The directory where composer.json is located, if it is not in the repository root. | no | — |
| ignore-cache | Whether to ignore the cache. Values accepted: `'yes'`, `true`, `1`. | no | — |
| custom-cache-key | A custom cache key to use instead of an auto-generated cache key. | no | — |
| custom-cache-suffix | A custom suffix to add to the auto-generated cache key. | no | — |
| require-lock-file | Require lock file for install command. | no | false |
| composer-filename | The Composer filename to use, without the extension (e.g. `composer`, `composer-gh-actions`, `composer-staging`). Please note: this is not a path. If you need to specify a different path, use `working-directory`. | no | composer |
Outputs
no outputs