# php-build/php-build

Builds PHP so that multiple versions can be used side by side.

Repository: https://github.com/php-build/php-build
Canonical: https://ross.abutalabs.com/products/php-build
Homepage: https://php-build.github.io
Language: Shell
License: MIT
License Family: permissive
Topics: hacktoberfest
Last push: 2026-08-20T01:40:34+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 5500, "days_push": 14, "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 1049, forks 157 (observed 2026-08-28T04:03:22.735625+00:00)

## What it is
php-build is a shell utility that compiles PHP versions from source so multiple versions can be installed and used side by side. It works standalone or as a phpenv plugin, driven by version definition files with configurable build options and extensions.

## Use cases
- install multiple PHP versions side by side
- build PHP 8.3 from source with custom configure options
- use phpenv to install a specific PHP version per project
- compile PHP with pecl extensions like xdebug and redis
- pin a PHP version per project without clobbering the system PHP

## When to avoid
- you just need a recent PHP and are happy with distro packages or Homebrew
- you want prebuilt binaries and fast installation rather than long source compiles
- you manage PHP via Docker containers instead of local version switching

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, cli, developer-tools
- domain: developer-tools, programming-languages
- platform: cli
- tags: php, version-manager, phpenv, compiling-from-source, shell, command-line, linux, macos

## Member repositories
- php-build/php-build (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:22.735625+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:00:32.645296+00:00, confidence not recorded.
  - readme: https://github.com/php-build/php-build (fetched 2026-08-28T04:03:22.735625+00:00, sha af0b69cdd71f)
  - homepage: https://php-build.github.io (fetched 2026-08-29T13:01:53.081011+00:00, sha b9401f6aeb91)
- Data as of 2026-08-30T08:39:29.467469+00:00.
