# php/pie

🥧 The PHP Installer for Extensions

Repository: https://github.com/php/pie
Canonical: https://ross.abutalabs.com/products/php-pie
Homepage: https://php.github.io/pie/
Language: PHP
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-19T20:00:40+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 65
- inputs: {"age_days": 916, "days_push": 14, "days_rel": 14, "gap_med": 13, "n_releases_24m": 42}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1996, forks 70 (observed 2026-08-28T04:06:03.498361+00:00)

## What it is
PIE is the official PHP Installer for Extensions, replacing the deprecated PECL tool. Distributed as a PHAR, it downloads, builds, and installs PHP extensions (modules and Zend extensions) into any target PHP installation, similar to how Composer manages PHP packages.

## Use cases
- install a PHP extension from source with phpize and configure
- replace the deprecated PECL installer
- install pre-compiled PHP extension DLLs on Windows
- install multiple PHP extensions in one command
- install extensions into a specific PHP version on a multi-PHP machine
- verify installer authenticity with GitHub attestations

## When to choose
- you need to install or update PHP extensions on PHP 8.1+
- you are migrating away from PECL
- you manage multiple PHP installations and need to target a specific one
- you want an official, attestation-verifiable installer from The PHP Foundation

## When to avoid
- you only need Composer PHP packages, not C extensions
- you are stuck on PHP older than 8.1 for running the tool itself
- you need extensions not packaged or compatible with PIE

## Facets
- artifact type: cli-tool
- maturity: active
- function: package-manager, build-tool, cli, developer-tools
- domain: developer-tools, programming-languages
- platform: windows, cli, php, cross-platform
- tags: php-extensions, pecl-replacement, phar, php-foundation, extension-installer, command-line, linux, macos

## Member repositories
- php/pie (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:03.498361+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-30T03:02:29.863860+00:00, confidence not recorded.
  - readme: https://github.com/php/pie (fetched 2026-08-28T04:06:03.498361+00:00, sha c4ec42413ced)
  - homepage: https://php.github.io/pie/ (fetched 2026-08-29T10:42:07.393254+00:00, sha c504e5c3746f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
