Pear Programming

From KdjWiki

Jump to: navigation, search

What is PEAR?

PEAR is an acronym for PHP Extension and Application Repository.

PEAR is a framework and distribution system for reusable PHP components. People familiar with Perl should equate it with CSPAN (although it's more controlled and as such you have less duplications).


Working with PEAR

List installed (and hopefully available) modules:

 $ pear list

Install new package (named XXX):

 $ sudo pear install XXX


PEAR Packages

PEAR::DB
PEAR::Cache_Lite
PEAR::Log
PEAR::Net_URL

Personal tools