PHP Pear cheatsheets

Perl as CPAN, Ruby has Gems, and PHP has Pear (set of reusable PHP components).

You can find out the Pear default packages list using:

pear remote-list

You can install any package from that list:

pear install [package_name]

You can install any other package by:

pear install [some-path.tar.gz]

You can list installed packages:

pear list

You can list files from the package installed:

pear list-files [package_name]

You can uninstall a PEAR package:

pear uninstall [package_name]

You can upgrade PEAR installer:

pear upgrade PEAR

tags: & category: -