Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Updating pear description #218

merged 1 commit into from

2 participants


I updated the PEAR description to help people exploring this tool.

I think while Composer is getting used more and more, PEAR is still used by many companies and projects.

I kept the update to a minimum because I think it should be only an overview. People interested in PEAR will find detailed descriptions using the PEAR documentation and other online resources.

@philsturgeon philsturgeon merged commit db40646 into codeguy:gh-pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2012
  1. @Sgoettschkes
This page is out of date. Refresh to see the latest.
Showing with 31 additions and 1 deletion.
  1. +31 −1 _posts/
32 _posts/
@@ -4,6 +4,36 @@ isChild: true
## PEAR {#pear_title}
-Another veteran package manager that many PHP developers enjoy is [PEAR][1]. It behaves much the same way, and is also worth researching for your projects. [Learn about PEAR][1].
+Another veteran package manager that many PHP developers enjoy is [PEAR][1]. It behaves much the same way as Composer,
+but has some noteable differences.
+PEAR requires each package to have a specific structure, which means that the author of the package must prepare it
+for usage with PEAR. Using a project which was not prepared to work with PEAR is not possible.
+PEAR installs packages globally, which means after installing them once they are available to all projects on that
+server. This can be good if many projects rely on the same package with the same version but might lead to problems
+if version conflicts between two projects arise.
+### How to install PEAR
+You can install PEAR by downloading the phar installer and executing it. The PEAR documentation has detailed
+[install instructions][2] for every operating system.
+If you are using Linux, you can also have a look at your distribution package manager. Debian and Ubuntu for example
+have a apt ``php-pear`` package.
+### How to install a package
+If the package is listed on the [PEAR packages list][3], you can install it by specifying the official name:
+ pear install foo
+If the package is hosted on another channel, you need to `discover` the channel first and also specify it when
+installing. See the [Using channel docs][4] for more information on this topic.
+* [Learn about PEAR][1]
Something went wrong with that request. Please try again.