shivammathur/setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

View on GitHub ↗Jump to charts ↓

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 2 hours ago
Added to GitGenius on September 21st, 2026
Created on September 5th, 2019
Open Issues & Pull Requests: 10 (+0)
GitHub issues: Enabled
Number of forks: 420
Total Stargazers: 3,259 (+0)
Total Subscribers: 26 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 11.9 hours
90th percentile: 0.4 hours
Tracked items: 186

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 86% of issues opened in the past year have been closed, leaving a working backlog. Three people close 82% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 9
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 99 days
Stale 30+ days: 3
Stale 90+ days: 2

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 2

Top labels

  • bug (122)
  • self-hosted (41)
  • enhancement (24)
  • workflow-edit (11)
  • won't add support (4)
  • 📢 announcement (4)
  • question (2)
  • upstream-issue (2)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Setup PHP is a GitHub action that sets up PHP with extensions, php.ini configuration, coverage drivers, and various tools.

The action solves the problem of configuring a consistent PHP environment across different platforms in continuous integration workflows. Rather than manually installing PHP versions and extensions in each workflow, the tool provides a declarative interface where users specify their PHP version, required extensions, ini settings, and tools like Composer. The action handles the platform-specific installation details, supporting a wide range of PHP versions and automatically managing dependencies and configuration.

Teams should adopt this action when they need to test PHP applications across multiple versions or configurations in GitHub Actions workflows. It suits projects that require specific PHP extensions, custom php.ini settings, or integration with code coverage tools. The action is particularly valuable for open-source PHP libraries and applications where testing against multiple PHP versions is standard practice, as it eliminates the need to write custom shell scripts for environment setup.

The project maintains active development with regular updates to support new PHP versions and extensions. The action has established community engagement through dedicated social channels and a status page for monitoring service availability. Testing infrastructure is in place with continuous integration workflows validating changes. The tool provides cross-platform support, abstracting away differences between Linux, macOS, and Windows runners in GitHub Actions.