shivammathur/setup-php
GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 25
- age_days: 2554
- days_rel: 86
- days_push: 10
- n_releases_24m: 14
Adoption not part of the score
3255 stars · 419 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A GitHub Action that installs PHP with specified extensions, php.ini configuration, coverage drivers (Xdebug, PCOV), and tools like Composer in CI workflows. It supports PHP 5.3 through nightly builds across GitHub-hosted and self-hosted runners.
Use cases
- set up php in github actions workflow
- install php extensions in ci
- run phpunit with code coverage in github actions
- test php app across multiple php versions
- install composer in ci pipeline
- configure php.ini in github actions
When to choose
- you run PHP projects on GitHub Actions and need a specific PHP version or extensions
- you need matrix builds across PHP versions or operating systems
- you want coverage drivers like Xdebug or PCOV configured automatically
When to avoid
- you use CI providers other than GitHub Actions
- you need PHP set up on local development machines rather than CI
- your project is not PHP-based
Facets
plugin · maturity active
ci-cd developer-tools testing configuration-management developer-tools web-development testing windows self-hosted github-actions php composer xdebug pcov php-extensions continuous-integration devops linux macos docker
3 sources
- readme: https://github.com/shivammathur/setup-php · fetched 2026-08-28 · d2be5bcdee1c
- homepage: https://setup-php.com · fetched 2026-08-29 · 3ef3670c2919
- registry_npm: https://registry.npmjs.org/setup-php · fetched 2026-08-29 · 7b55242d8485
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| shivammathur/setup-php | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="shivammathur/setup-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem