Best CI for PHP (2026)
Where to run PHPUnit, PHPStan and Composer on every push, picked for builders who'd rather ship than babysit pipelines.
Every major CI runs PHP fine, because PHP jobs are mostly "pull a PHP image or install a version, run Composer, run tests." The real differences are where your code already lives, how many free minutes you get, and what security scanning comes along for the ride. That last one changed on Oct 15: GitHub's AI Scan for pull requests now covers PHP, which GitHub's CodeQL engine never did.
Last updated:
Some links elsewhere on ToolTier are affiliate links that may earn us a commission at no extra cost to you. None of the links on this page are, and affiliate status never affects a tool's tier.
Quick picks
- Our pick: GitHub Actions, best for repos already on GitHub
- Also good: GitLab CI/CD, best for teams on GitLab, self-hosted runners
- Also good: CircleCI, best for big test suites, speed
- Worth knowing: Bitbucket Pipelines, best for Atlassian and Jira shops
The picks
Our pick
GitHub Actions
If your repo is on GitHub, this is the default. The community setup-php action installs any PHP version with extensions, php.ini settings, coverage drivers and tools like Composer, so a version matrix takes a few lines of YAML. AI Scan for PRs now flags PHP security issues in the same pull request.
Also good
GitLab CI/CD
The pick if you host on GitLab or want CI, registry and security scanning in one product. Run jobs in the official php Docker images, bring your own runners for unlimited minutes, and GitLab's standard SAST analyzer covers PHP on every tier (findings show in merge requests on Ultimate).
Also good
CircleCI
Built for speed on big test suites: high concurrency, test splitting, Docker layer caching and maintained cimg/php convenience images. It works with GitHub, GitLab and Bitbucket repos.
Worth knowing
Bitbucket Pipelines
Built into Bitbucket, configured in one YAML file, and tightly tied to Jira. The free plan's 50 build minutes is tight for PHP test suites, so plan on Standard.
Side by side
| CI | Best for | Free allowance | PHP setup | Built-in PHP security scan |
|---|---|---|---|---|
| GitHub Actions | Repos on GitHub | 2,000 min/mo (Free plan, private repos); public repos free | setup-php action, version matrix | AI Scan for PRs (advisory) |
| GitLab CI/CD | Repos on GitLab | 400 compute min/mo; own runners unlimited | Official php Docker images | SAST analyzer (all tiers; MR view on Ultimate) |
| CircleCI | Large test suites | Up to 6,000 build min/mo | cimg/php images | None built in |
| Bitbucket Pipelines | Jira teams | 50 build min/mo | Docker images in bitbucket-pipelines.yml | None built in |
The PHP security angle
CodeQL, the engine behind GitHub code scanning, doesn't support PHP. Until this month that meant PHP teams on GitHub needed a third-party scanner. AI Scan for pull requests (GA Oct 15) closes part of that gap: it reviews PHP changes in each PR and suggests fixes. It's free on public repos; private repos need GitHub Code Security or Advanced Security. Findings are advisory and can't block a merge, so for a hard gate pair your CI with a scanner from our CodeQL alternatives guide.
How we picked
This is ToolTier's take, an editorial ordering rather than a formal tier. None of these tools are on our tier lists yet, so we built it from research and official docs and pricing pages, checked Oct 18, 2026. We weigh how fast you can get it running, how much it catches, how well it fits a small team's workflow, and price. No tool paid to be included, and none of the links on this page are affiliate links. How we rank.
FAQ
What is the best CI for PHP?
For most PHP projects hosted on GitHub, GitHub Actions: setup-php makes multi-version testing easy and it's free for public repos. If you're on GitLab, use GitLab CI/CD. If raw speed on a big test suite matters most, CircleCI.
Is GitHub Actions free for PHP projects?
Yes for public repositories. Private repos get 2,000 minutes a month on GitHub Free and 3,000 on Team, per GitHub's pricing page.
Does GitHub code scanning support PHP?
CodeQL does not support PHP. GitHub's AI Scan for pull requests, generally available since Oct 15, 2026, does cover PHP changes in pull requests, with advisory findings and suggested fixes.
Which CI is cheapest for a small PHP team?
On free plans CircleCI offers the most build minutes (up to 6,000 a month on a small Docker resource class), then GitHub Actions (2,000), GitLab (400) and Bitbucket (50). If you can run your own runner, GitLab doesn't count those minutes at all.
Ranking the rest of your stack?
ToolTier ranks AI coding agents, IDEs, app builders, hosting, backends and model APIs in S, A and B tiers, kept current daily.
See every tier list → Coding Agents AI Workflows AI Code Review AI IDEs Deploy & Hosting
Related guides and tier lists
CodeQL alternativesStatic analysis for Bash, Terraform and DockerDeploy & Hosting tier listAI Code Review tier listHow we rank
The ToolTier Drop
New tools worth your time and tier changes, every week. No hype.