actions-x/phpstan (PHP Static Analysis)
Run phpstan on your project with easy to use configuration
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 0–2scored Jul 13, 2026
- Maintenance Recency
- Stalelast commit Apr 30, 2020
- License
- MIT
Pinned Snippet
uses: actions-x/phpstan@61bd915732739dfe570ad3ce2a648156704f8903 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| installComposer | Whether to install composer packages, set to '0' to disable (e.g. if you installed them manually). | yes | 1 |
| phpstanVersion | Set the phpstan version, omit to use the latest | yes | none |
| level | The phpstan level | yes | max |
| paths | The directories separated by space that phpstan will check. Not required since you can defined them in phpstan config | no | — |
| configPath | The path to the config file, if not specified phpstan defaults are used | no | — |
| useBundled | If set to true, the local project phpstan is used instead of downloading it manually | yes | 0 |
| arguments | Any additional arguments you want to pass to the phpstan tool | no | — |
Outputs
no outputs