> guide · CI/CD for PHP

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.

← All tier lists · FAQ

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

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.

🎯 Best for: Repos already on GitHub💲 Free for public repos · private repos: 2,000 min/mo on Free, 3,000 on Team

Official site ↗

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).

🎯 Best for: Teams on GitLab, self-hosted runners💲 Free: 400 compute min/mo, 5 users · Premium $29/user/mo billed annually (10,000 min)

Official site ↗

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.

🎯 Best for: Big test suites, speed💲 Free: up to 6,000 build min/mo (small Docker), 5 users · Performance: pay-as-you-go credits ($15 per 25,000)

Official site ↗

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.

🎯 Best for: Atlassian and Jira shops💲 Free: 50 build min/mo, up to 5 users · Standard includes 2,500 build min/mo

Official site ↗

Side by side

CIBest forFree allowancePHP setupBuilt-in PHP security scan
GitHub ActionsRepos on GitHub2,000 min/mo (Free plan, private repos); public repos freesetup-php action, version matrixAI Scan for PRs (advisory)
GitLab CI/CDRepos on GitLab400 compute min/mo; own runners unlimitedOfficial php Docker imagesSAST analyzer (all tiers; MR view on Ultimate)
CircleCILarge test suitesUp to 6,000 build min/mocimg/php imagesNone built in
Bitbucket PipelinesJira teams50 build min/moDocker images in bitbucket-pipelines.ymlNone 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.

// built for builders

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

// weekly · free

The ToolTier Drop

New tools worth your time and tier changes, every week. No hype.