brew-php-switcher install guide

Get brew-php-switcher on macOS and Linux Now!

Brew PHP switcher is a simple shell script to switch your apache and CLI quickly between major versions of PHP. If you support multiple products/projects that are built using either brand new or old legacy PHP functionality. For users of Homebrew (or brew for short) currently only

brew-php-switcher one-command setup card, command-line tool, for macOS and Linux, 1.0k stars on the project's repository
★ 1.0k stars macOS and Linux

Get brew-php-switcher with one command

Pick your system, reveal the step-by-step guide, copy the command, paste it into your terminal and press Enter. This command comes from the project's public source.

PowerShell

brew-php-switcher at a glance

  • Installs with a single command — Homebrew.
  • Installs on macOS / Linux.
  • Open source. Runs locally; no CommandLine Directory account needed.
  • 1.0k stars — an actively used project.

brew-php-switcher doesn't publish a feature list we can quote, so this is what we verified ourselves.

About brew-php-switcher

Brew PHP switcher is a simple shell script to switch your apache and CLI quickly between major versions of PHP. If you support multiple products/projects that are built using either brand new or old legacy PHP functionality. For users of Homebrew (or brew for short) currently only

CategoryCommand-line tool
Install methodHomebrew
Windowsno install command published
macOS / Linuxdocumented install command available
PriceSubscription plans from $9/mo · free Starter tier · team and enterprise plans
Command verifiedFrom project source
Popularity1.0k stars on the project's public repository

On mobile

brew-php-switcher is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

brew-php-switcher is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.