Skip to content

Latest commit

 

History

History
88 lines (78 loc) · 3.6 KB

README.md

File metadata and controls

88 lines (78 loc) · 3.6 KB

PHP Homebrew Tap (Linux / macOS / Windows)

LICENSE PHP Versions Supported

Linux x86_64 Supported Linux aarch64 Supported macOS Intel Supported macOS Apple Silicon Supported WSL x86_64 Supported

A Homebrew tap repository for PHP-related formulas with MacOS (Apple silicon, Intel), Linux (AMD64, ARM64) and WSL (AMD64) support.

If you looking for Linux, Nginx, MySQL, PHP (LEMP stack) development environment just review this https://github.com/digitalspacestdio/homebrew-ngdev

Support Matrix

Os Arch 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
MacOs x86_64 yes yes yes yes yes yes yes yes yes yes yes
MacOs arm64 yes yes yes yes yes yes yes yes yes yes yes
Linux x86_64 yes yes yes yes yes yes yes yes yes yes yes
Linux arm64 no yes yes yes yes yes yes yes yes yes yes

Bottle Matrix

Os Arch 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
MacOs x86_64 yes yes yes yes yes yes yes yes yes yes yes
MacOs arm64 yes yes yes yes yes yes yes yes yes yes yes
Linux x86_64 yes yes yes yes yes yes yes yes yes yes yes
Linux arm64 no yes yes yes yes yes yes yes yes yes yes

Requirements

Build Requirements

  • macOS: xcode-select --install
  • Debian / Ubuntu / Mint: systemtap-sdt-dev build-essential
  • Fedora / CentOS / OpenSUSE: systemtap-sdt-devel gcc-c++ make patch

Installation

To install latest release version with common extensions

brew install digitalspacestdio/php/php-common

To install specific version with common extensions

brew install digitalspacestdio/php/php81-common

To install specific php version without extra extensions

brew install digitalspacestdio/php/php81

The common formula will install php and next extensions:

  • amqp
  • apcu
  • gmp
  • igbinary
  • intl
  • ldap
  • mongodb
  • msmtp
  • opcache
  • pdo-mysql
  • pdo-pgsql
  • redis
  • sodium
  • tidy
  • xdebug
  • zip
  • yaml
  • xdebug

Verify version by php wrapper

php -v

Verify version by verioned binary

php83 -v