Skip to content
CAI
Software that uses CAICheck a score

shivammathur/homebrew-php

63.0

Adequate · 5 November 2026

26.6k

lines of production code

Ruby

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added PHP PGO training script for performance optimization

A new PHP script (Scripts/pgo\_script.php) has been added to generate synthetic workloads for Profile-Guided Optimization (PGO) training. The script exercises various PHP features including JSON encoding/decoding, array sorting, string manipulation, object inheritance, iterators, and stream processing to help the PHP 8.5 experimental build produce more optimized binaries.

php · 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 cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 62 → 63 (+1.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 74 → 74 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 58 → 62 (+4.4)
  • Readiness 81 → 81 (+0.0)
  • Security 54 → 54 (+0.0)

Findings

  • No change — the same findings as the prior survey.

Changes since last survey

  • 300 commits — 297 feature/other, 3 fixes

By area

  • (repo) — 30 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/[e-mail redacted] — 20 commits
  • Formula/php-debug-zts.rb — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits
  • Formula/[e-mail redacted] — 4 commits

Notable commits

  • fix: Fix ZTS Apache test shutdown [skip-build]
  • fix: Revert "Fix ZTS Apache test shutdown" [skip-build] [skip ci]
  • fix: Revert "Isolate Apache test process groups" [skip-build] [skip ci]
  • change: Isolate Apache test process groups [skip-build]
  • change: Keep the CI range change limited to the matrix [skip-build]
  • change: Limit PHP CI to 8.2 through 8.7
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • change: Prepare PHP security release sources [skip-build]
  • …and 280 more

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

Written by cca.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 5 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9c3791e17f33ffd157c826061952b1597e460d17 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.2+preprod-5c4e66d9318b.