PECL
acronymKept in this browser · My desk
Stands for: PHP Extension Community Library
PHP Extension Community Library: the repository of compiled PHP extensions, now deprecated in favour of PIE, the PHP Installer for Extensions.
PECL hosted extensions written in C and distributed them with the packaging system of its sister project, PEAR; the pecl command installed them and an extension directive in php.ini loaded them. Both the PHP manual and the PECL site now say that PECL is deprecated and recommend PIE.
The difference from Composer matters on a server: Composer installs PHP code into one project, while PECL and PIE install compiled extensions into the PHP runtime itself, shared by every application on it. An extension installed that way has its own version to track.
PEAR, the PHP Extension and Application Repository, was born at the PHP Developers' Meeting in Tel Aviv in January 2000 and created by Stig S. Bakken, the PHP manual's history records. OPcache itself was distributed through PECL for PHP 5.2 to 5.4 before it was bundled with PHP 5.5.
Also known as: php extension community library, pie, php installer for extensions, pear, pecl install
Sources
- PHP Manual, Introduction to PECL installations: "PECL is deprecated" and PIE as its replacement (read 2026-10-27)
- PECL, The PHP Extension Community Library: what PECL is and the PIE notice (read 2026-10-27)
- PHP Manual, History of PHP related projects: PEAR (read 2026-10-27)
- PHP Manual, OPcache: available in PECL for PHP 5.2 to 5.4 (read 2026-10-27)