phpbrew
« Back to VersTracker
Description:
Brew & manage PHP versions in pure PHP at HOME
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @phpbrew  |  formulae.brew.sh
Category: Developer tools
Tags: php version-management development cli php-extensions
Install: brew install phpbrew
About:
Phpbrew is a command-line tool that builds and installs multiple PHP versions from source. It allows developers to easily switch between different PHP versions and extensions on a per-project basis. This solves the problem of managing diverse PHP environments without requiring system-wide changes or virtual machines.
Key Features:
  • Builds PHP versions from source with custom configurations
  • Instantly switch between installed PHP versions
  • Manage PHP extensions for each version independently
  • Per-project PHP version configuration via local files
Use Cases:
  • Developing legacy applications that require older PHP versions
  • Testing applications across multiple PHP versions for compatibility
  • Maintaining different PHP extension sets for various projects
Alternatives:
  • phpenv – Similar version management, but phpbrew offers more granular extension control
  • docker – Docker provides full isolation but requires more overhead than phpbrew's lightweight switching
Version History
Detected Version Rev Change Commit
Feb 14, 2026 1:46pm 1 REVISION_ONLY edb63c20
Sep 14, 2024 6:59am 0 VERSION_BUMP d6e4540c