# shivammathur/homebrew-php

Homebrew tap for PHP 5.6 to 8.6. PHP 8.6 is built nightly :beer:

Repository: https://github.com/shivammathur/homebrew-php
Canonical: https://ross.abutalabs.com/products/homebrew-php
Homepage: https://github.com/shivammathur/homebrew-php/packages
Language: Ruby
License: MIT
License Family: permissive
Topics: php, homebrew, homebrew-php, homebrew-tap, php8, macos, arm64
Last push: 2026-08-25T01:11:05+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 2448, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2871, forks 183 (observed 2026-08-28T04:07:27.117152+00:00)

## What it is
A Homebrew tap providing PHP formulae for versions 5.6 through 8.6, including NTS, ZTS, and debug builds, with PHP 8.6 built nightly. It supports macOS (Intel and Apple Silicon) and Linux x86_64.

## Use cases
- install php 8.3 on mac with homebrew
- install old php version like 5.6 or 7.2 on macos
- install php on apple silicon arm64 mac
- install zts php build via homebrew
- install debug build of php for extension development
- run multiple php versions side by side on mac
- install php on linux via homebrew

## When to choose
- you need a PHP version not available in Homebrew core, such as EOL versions or the latest nightly
- you are on Apple Silicon and need prebuilt PHP binaries
- you need ZTS or debug variants of PHP

## When to avoid
- you only need the latest stable PHP and are happy with the default homebrew/php core formula
- you are not using Homebrew as your package manager
- you need PHP on platforms other than macOS or Linux x86_64

## Facets
- artifact type: infra-config
- maturity: active
- function: package-manager, build-tool, developer-tools
- domain: developer-tools, web-development, backend
- platform: cli
- tags: homebrew-tap, php, php-versions, arm64, zts, debug-builds, nightly-builds, command-line, macos, linux

## Member repositories
- shivammathur/homebrew-php (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:27.117152+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:52.184927+00:00, confidence not recorded.
  - readme: https://github.com/shivammathur/homebrew-php (fetched 2026-08-28T04:07:27.117152+00:00, sha 8270fac1b6e1)
  - homepage: https://github.com/shivammathur/homebrew-php/packages (fetched 2026-08-29T09:51:28.463170+00:00, sha 87924342f7e2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
