Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

PHPBrew

Free#14 of 30 in Runtime Version Managers

PHPBrew: A flexible open-source PHP version manager for custom local environments. Ranked #14 of 30 in Runtime Version Managers by our editors (7.7/10); pricing: Free plan; best for PHP developers building custom environments.

7.7/10Editor score
PHPBrew7.7 Visit PHPBrew

At a glance

  • Editor score
    7.7 / 10
  • Pricing
    Free plan
  • Best for
    PHP developers building custom environments
  • Free plan
    Yes
  • Paid from
    Free
  • Automatic switching
    Yes
  • Facts checked
    20 Sep 2026
PHPBrew screenshot
  • Where it wins

    • Builds multiple PHP versions with configurable variants and extensions
    • Automatically switches PHP versions by project with .phpbrewrc
    • Supports user-level installs, PHP-FPM, and several shell integrations
  • Where it doesn't

    • Limited to macOS and Linux
    • Source builds require local configuration and compilation
    • Command-line workflow may not suit users seeking a graphical tool

Our verdict on PHPBrew

PHPBrew is an open-source command-line version manager for PHP developers who need control over local runtimes. It builds and installs multiple PHP versions, lets users switch versions temporarily or permanently, and supports installation in a user home directory without root permissions. System-wide installation is also supported. Its verified platform scope covers macOS and Linux, including several Linux distribution families.

The main strength is build control. PHPBrew can configure PHP builds with variants such as PDO, MySQL, SQLite, and debug, then install extensions from PHP source or PECL. It also manages PHP-FPM processes and configuration. Project-specific switching through .phpbrewrc files can pin a PHP version to a project directory, while Bash, Zsh, and Fish integrations support different shell environments. Homebrew and MacPorts are also supported for installation workflows.

PHPBrew is a strong fit for PHP developers who need several locally built runtimes, project-level version switching, or PHP configurations tailored to specific extensions and debugging needs. Its open-source model and free plan suit users who prefer a self-managed tool. The trade-off is its command-line, source-building approach: developers must work with local build configuration rather than a graphical interface or a simpler packaged workflow. Teams or individuals requiring Windows support, or those who want a less configuration-focused runtime manager, should consider an alternative. For macOS and Linux users comfortable managing PHP from the shell, PHPBrew offers a focused set of version, build, extension, and process-management controls.

Your product? Our editors can test PHPBrew in depth and publish a review, labelled as paid · from $149/mo →

PHPBrew pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on phpbrew.github.io

PHPBrew fact sheet

Free planYes
Paid fromFree
Runtime typesLanguage
Automatic switchingYes
Project version pinningYes
Version sourceSource
Supported platformsmacos, linux
Team controlsNot verified
DeploymentSelf-hosted
PlatformsmacOS, Linux
SupportDocs, Community
Built forSolo, Small business (editorial estimate)
Integrations6 integrations: Bash, Zsh, Fish, PECL, Homebrew, MacPorts
PricingFree plan
Websitephpbrew.github.io
Facts checked20 Sep 2026

PHPBrew integrations

PHPBrew lists 6 integrations on its own site.

  • Bash
  • Zsh
  • Fish
  • PECL
  • Homebrew
  • MacPorts

Alternatives to PHPBrew

See all PHPBrew alternatives →

Used PHPBrew? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used PHPBrew for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — PHPBrew 7.7/10

PHPBrew is listed in our Runtime Version Managers directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/phpbrew-runtime-version-manager/"><img src="https://www.itechguides.com/best/badge/phpbrew-runtime-version-manager.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update