PEAR - PHP Extension and Application Repository

» What is it?

PEAR is a framework and distribution system for reusable PHP components.

Sounds good? Perhaps you might want to know about installing PEAR on your system or installing pear packages.

You can find help using PEAR packages in the online manual and the FAQ.

If you have been told by other PEAR developers to sign up for a PEAR website account, you can use this interface.

» Hot off the Press

PEAR 1.10.0 with PHP7 support is out

After a year of development, PEAR version 1.10.0 has been released.

It works on PHP7 and is E_DEPRECATED and E_STRICT compatible.

Apart from those big changes, a number of annoying bugs have been fixed and some features implemented – have a look at the release notes and the roadmap.

Thanks to Ferenc Kovacs, Hannes Magnusson, Remi Collet and Ken Guest for their patches.


Upgrade your existing PEAR installation as follows:

$ pear clear-cache
$ pear upgrade pear-1.10.0

Fresh installation

See the PEAR installation documentation.

PEAR 1.10.0dev3 is out

PEAR 1.10.0dev3 – the probably last pre-release version before PEAR 1.10.0 stable appears – has been released.

It fixes the following bugs:

  • #20507: pear list-upgrades does not take PHP version into account [cweiske]
  • #20927: Use correct php-config [cweiske]
  • #20946: PEAR_Builder::log() declaration [remicollet]

You can download it here:

Upgrading your existing installation is also easy:

$ pear upgrade PEAR-1.10.0dev3

PEAR 1.10.0dev1 brings PHP 7 compatibility!

We’ve released PEAR installer version 1.10.0dev1, which brings support for PHP 7 while dropping support for PHP 4 – 5.3.

See the announcement post @ for more information.

PEAR Community

Need help?

You can find help and support on our mailing lists and IRC channel.

Our developers are also on LinkedIn, OpenHub, Twitter as well as the wiki.