shivammathur/homebrew-php
65.1
Adequate · 19 September 2026
25k
lines of production code
Ruby
primary language
1
measurement over time
What this system is
This system is a Homebrew tap that provides formulae for installing and managing multiple versions of the PHP programming language. It maintains a comprehensive suite of PHP releases ranging from legacy versions like 5.6 to the latest experimental builds, including standard, ZTS, and debug variants. The repository handles dependency management, architecture-specific builds for macOS ARM64, and includes scripts for performance optimization such as Profile-Guided Optimization.
Features
Added PGO training script for PHP 8.5 experimental builds
A new PHP script, Scripts/pgo\_script.php, has been added to support Profile-Guided Optimization (PGO) training for the PHP 8.5 experimental formula. This script generates a diverse workload—including JSON serialization/deserialization, array sorting, object inheritance, iterator filtering, and CSV streaming—to create realistic profiling data that improves the performance of the resulting PHP binary.
Scripts · high confidence
Behavioural changes
Major README overhaul and support for PHP 8.5/8.6 with macOS ARM64 focus
The README has been completely rewritten to provide comprehensive installation and usage instructions, including prerequisites for macOS and Linux, tap trust procedures, and switching between PHP versions. The supported PHP versions are updated to include PHP 8.5 (marked as stable) and PHP 8.6.0-dev, with specific formulae names provided for each. macOS support is now focused on ARM64 architectures (Sequoia, Tahoe, Golden Gate), with Intel support explicitly removed. Additionally, the \.editorconfig\ and \LICENSE\_eXolnet\ files have been removed, and the main \LICENSE\ file's copyright year has been updated to 2026.
(repo-wide) · high confidence
PHP 8.5 aliases added; PHP 7.4 alias removed
New symbolic links for PHP 8.5 (including standard, ZTS, debug, and debug-ZTS variants) have been added to the Aliases directory, pointing to their respective formula files. Concurrently, the existing alias for PHP 7.4 has been removed, indicating that this version is no longer supported or available via this alias path.
Aliases · high confidence
PHP formulae updated to latest versions with dependency rebuilds
The PHP formulae (including php, php@5.6 through php@8.6, and their debug/ZTS variants) have been updated to their latest available versions. This includes new minor and patch releases (e.g., PHP 8.6, 8.4, 8.3, 8.2, 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 7.0, 5.6) and corresponding bottle updates. Several formulae were rebuilt to align with upgraded system dependencies such as icu4c, openssl@3, gd, libxml2, and net-snmp, ensuring compatibility and security fixes are propagated.
Formula · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 65.
Lenses
- Code Health 96
- Architecture 100
- Maturity 62
- Readiness 81
- Security 54
Changes since last survey
- 300 commits — 290 feature/other, 10 fixes
By area
- Formula/[e-mail redacted] — 54 commits
- Formula/[e-mail redacted] — 54 commits
- Formula/[e-mail redacted] — 53 commits
- Formula/[e-mail redacted] — 52 commits
- .github/workflows — 13 commits
- Formula/php-debug-zts.rb — 7 commits
- Formula/php-debug.rb — 3 commits
- Formula/php-zts.rb — 3 commits
- Formula/php.rb — 3 commits
- Formula/[e-mail redacted] — 3 commits
- Formula/[e-mail redacted] — 3 commits
- Formula/[e-mail redacted] — 3 commits
- Formula/[e-mail redacted] — 3 commits
- (root) — 2 commits
- Formula/[e-mail redacted] — 2 commits
- Formula/[e-mail redacted] — 2 commits
- Formula/[e-mail redacted] — 1 commit
- Formula/[e-mail redacted] — 1 commit
- Formula/[e-mail redacted] — 1 commit
- Formula/[e-mail redacted] — 1 commit
Notable commits
- fix: Fix Homebrew service plist path [skip ci]
- fix: Fix PHP formula post-install style
- fix: Fix brew style
- fix: Revert post-install migration except PHP 8.6
- fix: Revert premature Intel dependency bottle publish
- fix: php: fix tests in Linux sandbox [skip ci]
- fix: php@8.6-debug-zts: fix Linux sandbox test
- fix: php@8.6-debug: fix Linux sandbox test
- fix: php@8.6-zts: fix Linux sandbox test
- fix: php@8.6: fix Linux sandbox test
- change: Add macOS 27, drop macOS 14 ARM64 [skip-build]
- change: Rebuild PHP 5.6 variants with post-install steps
- change: Rebuild PHP 7.0-8.5 with post-install steps
- change: Remove Intel runner dispatch check
- change: Remove macOS Intel support
- change: Switch to macos-latest in test CI workflow [skip ci]
- change: Test formulae without package caches [skip-build]
- change: Update copyright year in LICENSE [skip ci]
- change: Update php@8.6
- change: Update php@8.6
- …and 280 more
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
shivammathur/homebrew-php was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 19 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 581fe036a1421fd82a6d3fa94262083abd471679 — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-13a154b7f5d1.