ionbazan/Composer Diff
Compare composer.lock files and generate human-readable list of package changes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base | Base composer.lock file path or git ref | yes | ${{ github.event.pull_request.base.sha }} |
| target | Target composer.lock file path or git ref | yes | composer.lock |
| format | Output format (mdtable, mdlist, json, github, pr) | yes | pr |
| strict | Exit with non-zero status code if there are any changes | no | — |
| no-dev | Exclude dev dependencies | no | — |
| no-prod | Exclude prod dependencies | no | — |
| direct | Only show direct dependencies | no | — |
| with-platform | Include platform dependencies | no | — |
| with-links | Include compare/release URLs | no | — |
| with-licenses | Include license information | no | — |
| filter | Limit output to packages matching given glob pattern(s), one per line | no | — |
| sort | Sort packages by name or operation | no | — |
| extra-arguments | Additional arguments passed to composer diff command | yes | --no-ansi |
Outputs
| name | description |
|---|---|
| composer_diff | Diff output - use it to create a PR comment |
| composer_diff_exit_code | Result of command (exit code) - use it to check the status |