pear

This is an old revision of the document!


The PEAR Project

PEAR is a framework and distribution system for reusable PHP components. 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 http://pear.php.net/account-request.php.

Areas

PEAR Packages

PEAR offers a wide range of packages for both PHP 4 and 5.

These packages provide all sorts of common functionality, like Validation or interacting with a Database.

Some of the most popular packages include:

PEAR on the Command Line

The most user visible piece of software which makes up the PEAR framework is the command line tool.

For example, you can use the command line tool to install packages:

pear install -a MDB2

or upgrade existing packages

pear upgrade-all

This makes the installing of packages simpler for users & developers who administer their own servers.

PEAR Channels

PEAR is built around the concept of a 'channel'. Other websites can provide their own PEAR channels.

For instance, doing:

pear channel-discover pear.phpunit.de

and

pear install phpunit/phpunit

Will allow you to install PHPUnit, which is entirely independent of PEAR itself.

Community

The PEAR community is made up of a diverse culture of developers. The main ways to interact are via the pear-dev mailing list and #pear on EFNet.

Recent Posts

pear.1225933681.txt.gz · Last modified: 2017/09/22 13:28 (external edit)