PHPackages                             mattacosta/phd-common - 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. mattacosta/phd-common

ActiveLibrary

mattacosta/phd-common
=====================

Base types for generating PHP documentation.

06PHP

Since Jan 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mattacosta/phd-common)[ Packagist](https://packagist.org/packages/mattacosta/phd-common)[ RSS](/packages/mattacosta-phd-common/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

phd-common
==========

[](#phd-common)

Base types for generating PHP documentation.

Requirements
------------

[](#requirements)

- [PHP 7](https://secure.php.net/)
- [Composer](https://getcomposer.org/)

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

[](#installation)

1. Add `mattacosta/phd-common` to your `composer.json` file.

Getting started
---------------

[](#getting-started)

1. Get a copy of the PHP manual.

    `git clone https://github.com/php/doc-base.git phpdoc/doc-base`

    `git clone https://github.com/php/doc-en.git phpdoc/en`
2. Generate a `.manual.xml` file.

    `php phpdoc/doc-base/configure.php`
3. Create a class that extends `Package_IDE_Base` and implements a rendering function.
4. Create a script to setup and run the renderer (PEAR usage is unsupported).

    You can copy the `scripts/export.php` file as a basic starting point.

    Usage: `php scripts/export.php phpdoc/doc-base/.manual.xml`

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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://www.gravatar.com/avatar/a73cccaa7c6f34809edd348b92f467b812a90d774efd53205e6dc4bfe4df9d73?d=identicon)[mattacosta](/maintainers/mattacosta)

---

Top Contributors

[![mattacosta](https://avatars.githubusercontent.com/u/1007463?v=4)](https://github.com/mattacosta "mattacosta (19 commits)")

### Embed Badge

![Health badge](/badges/mattacosta-phd-common/health.svg)

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

PHPackages © 2026

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