brew-php-switcher

Install command:
brew install brew-php-switcher

Switch Apache / Valet / CLI configs between PHP versions

https://github.com/philcook/brew-php-switcher

License: MIT

Formula JSON API: /api/formula/brew-php-switcher.json

Bottle JSON API: /api/bottle/brew-php-switcher.json

Formula code: brew-php-switcher.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable 2.4
head ⚡️ HEAD

Depends on:

php 8.1.6 General-purpose scripting language

Analytics (macOS):

Installs (30 days)
brew-php-switcher 1,500
Installs on Request (30 days)
brew-php-switcher 1,498
Build Errors (30 days)
brew-php-switcher 0
Installs (90 days)
brew-php-switcher 4,699
Installs on Request (90 days)
brew-php-switcher 4,703
Installs (365 days)
brew-php-switcher 13,407
brew-php-switcher --HEAD 1
Installs on Request (365 days)
brew-php-switcher 13,402
brew-php-switcher --HEAD 1

Analytics (Linux):

Installs (30 days)
brew-php-switcher 8
Installs on Request (30 days)
brew-php-switcher 8
Build Errors (30 days)
brew-php-switcher 0
Installs (90 days)
brew-php-switcher 31
Installs on Request (90 days)
brew-php-switcher 31
Installs (365 days)
brew-php-switcher 108
Installs on Request (365 days)
brew-php-switcher 108
Fork me on GitHub