php

pie

The official PHP installer for extensions, replacing the deprecated PECL, distributed as a PHAR, similar to Composer but for installing PHP extensions.

1.6.0-rc.4
Published at
21h ago
2,111
Stars
521
Download
Synced at
11m ago

Latest release

1.6.0-rc.4Nov 12, 2026, 08:27 PMPre-release
Downloads slow? Switch the source anytime above

README

Project Overview

PIE (PHP Installer for Extensions) is the official installer for PHP extensions, which replaces PECL (which is now deprecated). PIE is distributed as a PHAR and works in a similar way to Composer, but it installs PHP extensions to your PHP installation, rather than pulling PHP packages into your project.

Key Features

  • Installs PHP extensions (PHP Modules or Zend Extensions)
  • Distributed as a PHAR
  • Builds extensions from source (Linux/OSX) or installs pre-compiled packages (Windows)
  • Supports installing multiple extensions at once

Target Audience

  • PHP developers
  • System administrators who need to install PHP extensions

Quick Start

  1. Download pie.phar from Releases
  2. Verify the PHAR: gh attestation verify --owner php pie.phar
  3. Install an extension: pie install asgrim/example-pie-extension
  4. Install multiple extensions: pie install foo/great-extension bar/another-extension

Core Advantages

  • Official PHP extension installer
  • Replaces deprecated PECL
  • Composer-like workflow
  • Open-source and free (supported by The PHP Foundation)

System Requirements

  • OS: Cross-platform (Linux, OSX, Windows)
  • Architectures: x86_64
  • Additional Dependencies: PHP 8.1 or newer

Release history

Sort