PHPackages                             pear/pear - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pear/pear

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pear/pear
=========

This is the definitive source of PEAR's core files.

v1.10.18(3mo ago)1161.7M—5.4%105[1 PRs](https://github.com/pear/pear-core/pulls)19BSD-2-ClausePHPPHP &gt;=5.4CI passing

Since Apr 26Pushed 3mo ago11 watchersCompare

[ Source](https://github.com/pear/pear-core)[ Packagist](https://packagist.org/packages/pear/pear)[ RSS](/packages/pear-pear/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (18)Used By (19)Security (1)

PEAR - The PEAR Installer
=========================

[](#pear---the-pear-installer)

[![https://travis-ci.org/pear/pear-core.svg?branch=stable](https://camo.githubusercontent.com/71add9942d1258f48fecf6b3bb3abcf07a2bc3861ca47b6b8e6f04c90d3c1766/68747470733a2f2f7472617669732d63692e6f72672f706561722f706561722d636f72652e7376673f6272616e63683d737461626c65)](https://travis-ci.org/pear/pear-core)What is the PEAR Installer? What is PEAR?
-----------------------------------------

[](#what-is-the-pear-installer-what-is-pear)

PEAR is the PHP Extension and Application Repository, found at .

The **PEAR Installer** is this software, which contains executable files and PHP code that is used to **download and install** PEAR code from pear.php.net.

PEAR contains useful **software libraries and applications** such as MDB2 (database abstraction), HTML\_QuickForm (HTML forms management), PhpDocumentor (auto-documentation generator), DB\_DataObject (Data Access Abstraction), and many hundreds more. Browse all available packages at , the list is constantly growing and updating to reflect improvements in the PHP language.

Warning

Do not run PEAR without installing it - if you downloaded this tarball manually, you MUST install it. Read the instructions in INSTALL prior to use.

Documentation
-------------

[](#documentation)

Documentation for PEAR can be found at . Installation documentation can be found in the INSTALL file included in this tarball.

Tests
-----

[](#tests)

Run the tests without installation as follows:

```
$ ./scripts/pear.sh run-tests -r tests
```

You should have the `Text_Diff` package installed to get nicer error output.

To run the tests with another PHP version, modify `php_bin` and set the `PHP_PEAR_PHP_BIN` environment variable:

```
$ pear config-set php_bin /usr/local/bin/php7
$ PHP_PEAR_PHP_BIN=/usr/local/bin/php7 ./scripts/pear.sh run-tests -r tests
```

Happy PHPing, we hope PEAR will be a great tool for your development work!

### Test dependencies

[](#test-dependencies)

- `zlib`

Releasing
---------

[](#releasing)

Create a PEAR package, as well as phars for pear-less installation, simply run `build-release.sh`).

`go-pear.phar` contains the PEAR installer installer that asks where to install it. It is available from .

`install-pear-nozlib.phar` installs PEAR automatically without asking anything. It is shipped with PHP itself.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance78

Regular maintenance activity

Popularity58

Moderate usage in the ecosystem

Community44

Growing community involvement

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~228 days

Recently: every ~197 days

Total

15

Last Release

113d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

![](https://www.gravatar.com/avatar/a1a2e6fe03f91204de2117430a748a12db2957eb113d4a50fc86d68d3c851e11?d=identicon)[cweiske](/maintainers/cweiske)

![](https://www.gravatar.com/avatar/244aa5ea757c09dc227ef8762d2a461d26774995b610c39c252dd12da93ebf2b?d=identicon)[saltybeagle](/maintainers/saltybeagle)

---

Top Contributors

[![helgi](https://avatars.githubusercontent.com/u/70530?v=4)](https://github.com/helgi "helgi (604 commits)")[![stigsb](https://avatars.githubusercontent.com/u/169939?v=4)](https://github.com/stigsb "stigsb (558 commits)")[![tvvcox](https://avatars.githubusercontent.com/u/743820?v=4)](https://github.com/tvvcox "tvvcox (354 commits)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (190 commits)")[![pierrejoye](https://avatars.githubusercontent.com/u/282408?v=4)](https://github.com/pierrejoye "pierrejoye (118 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (89 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (61 commits)")[![nikic](https://avatars.githubusercontent.com/u/216080?v=4)](https://github.com/nikic "nikic (30 commits)")[![kenguest](https://avatars.githubusercontent.com/u/234118?v=4)](https://github.com/kenguest "kenguest (28 commits)")[![timjackson](https://avatars.githubusercontent.com/u/2638357?v=4)](https://github.com/timjackson "timjackson (23 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (19 commits)")[![jparise](https://avatars.githubusercontent.com/u/10311?v=4)](https://github.com/jparise "jparise (19 commits)")[![derickr](https://avatars.githubusercontent.com/u/208074?v=4)](https://github.com/derickr "derickr (14 commits)")[![chregu](https://avatars.githubusercontent.com/u/47106?v=4)](https://github.com/chregu "chregu (12 commits)")[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (11 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (10 commits)")[![mfn](https://avatars.githubusercontent.com/u/87493?v=4)](https://github.com/mfn "mfn (7 commits)")[![saltybeagle](https://avatars.githubusercontent.com/u/92284?v=4)](https://github.com/saltybeagle "saltybeagle (7 commits)")[![roojs](https://avatars.githubusercontent.com/u/415282?v=4)](https://github.com/roojs "roojs (6 commits)")[![alecpl](https://avatars.githubusercontent.com/u/546788?v=4)](https://github.com/alecpl "alecpl (5 commits)")

### Embed Badge

![Health badge](/badges/pear-pear/health.svg)

```
[![Health](https://phpackages.com/badges/pear-pear/health.svg)](https://phpackages.com/packages/pear-pear)
```

###  Alternatives

[pear/pear-core-minimal

Minimal set of PEAR core files to be used as composer dependency

8073.0M70](/packages/pear-pear-core-minimal)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

38244.6k16](/packages/ec-europa-toolkit)[matomo/decompress

12889.5k7](/packages/matomo-decompress)[dueros/bot-sdk

度秘bot开发的PHP SDK

7514.4k1](/packages/dueros-bot-sdk)[whikloj/bagittools

A PHP library to manipulate and verify BagIt bags.

1220.5k2](/packages/whikloj-bagittools)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
