PHPackages                             willdurand/pman - 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. willdurand/pman

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

willdurand/pman
===============

pear-doc.php.net/pman on Composer/Packagist

201753[1 issues](https://github.com/willdurand/pman/issues)Shell

Since Nov 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/willdurand/pman)[ Packagist](https://packagist.org/packages/willdurand/pman)[ RSS](/packages/willdurand-pman/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

pman
====

[](#pman)

This package provides **pman**, the [PHP manual](http://fr.php.net/download-docs.php) in \*nix style man pages, via Composer and Packagist.

Installation
------------

[](#installation)

1. This package SHOULD be installed **globally**:

    composer global require willdurand/pman:dev-master
2. Then, add `$COMPOSER_BIN_DIR` to your `$PATH`.

`$COMPOSER_BIN_DIR` is often `~/.composer/vendor/bin`, but it may be different depending on your operating system or configuration. Also, it is important to use such a path and not directly, `.composer/vendor/bin`.

Usage
-----

[](#usage)

1. First, you have to fetch the documentation. This can be done time to time or only once, but it MUST be run at least once.

    sync-pman

This script relies on [Docker](https://www.docker.com/). In case you want to clear Docker's cache, you can pass the `--no-cache` option to this script:

```
sync-pman --no-cache

```

2. Run `pman` to display documentation (like you would do with `man`):

    pman strlen

Why?
----

[](#why)

I stumbled upon [this article](http://dailyvim.blogspot.fr/2008/08/making-k-useful.html) (and a few others as well), explaining how to leverage `K` command in [`vim`](https://github.com/willdurand/vim-config). I decided to use this command rather than [my plain old way to display PHP manual entries](https://github.com/willdurand/vim-config/blob/40c39392afac3960aef6ac80320ddc172a0257c3/vim/ftplugin/php.vim#L1-L2).

I don't use PEAR on my system, that is why I relied on Docker to fetch the PEAR package. Also, adding a script to fetch (and synchronize) the documentation rather than versioning all the files (as done [here](https://github.com/gonzaloserrano/pman-php-manual)) seemed better to me.

License
-------

[](#license)

(willdurand's) pman is released under the MIT License. See the bundled LICENSE file for details. Note that `pman`, the original package from PEAR, has its own license.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.1% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1620075?v=4)[François Ganachaud](/maintainers/couac)[@couac](https://github.com/couac)

---

Top Contributors

[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (16 commits)")[![tobyS](https://avatars.githubusercontent.com/u/187140?v=4)](https://github.com/tobyS "tobyS (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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