PHPackages                             codex/phpdoc - 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. codex/phpdoc

ActiveCodex-addon[Utility &amp; Helpers](/categories/utility)

codex/phpdoc
============

Codex Addon - Integrates PHPDoc documentation, links and macros in your projects

0335PHP

Since Apr 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/codex-project/phpdoc)[ Packagist](https://packagist.org/packages/codex/phpdoc)[ RSS](/packages/codex-phpdoc/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

   title Phpdoc   subtitle Addons  Phpdoc Addon
============

[](#phpdoc-addon)

The Phpdoc Addon provides Codex the means to parse the phpdoc generated xml file and display it in a user-friendly way.

### Installation

[](#installation)

```
composer require codex/phpdoc
php artisan codex:addons:enable codex/phpdoc
php artisan vendor:publish --provider="Codex\Phpdoc\PhpdocAddonServiceProvider"
```

### Configuration

[](#configuration)

...

### Examples

[](#examples)

#### Api Viewer

[](#api-viewer)

Revisions with phpdoc enabled allows users to browse the Api Viewer

#### Macros

[](#macros)

**Example**

```

```

#### Links

[](#links)

Class Link

Method popover

ExampleCode Class Link`[Class Link](#codex:phpdoc['Codex\Codex'])` Class Link`[Class Link](#codex:phpdoc['Codex\Codex']:!styling:!icon)` Class Drawer + Popover`[Class Drawer + Popover](#codex:phpdoc['Codex\Codex']:drawer:popover)` `[](#codex:phpdoc['Codex\Codex']:drawer:popover)` `[](#codex:phpdoc['Codex\Codex']:drawer:popover:type)` Link to phpdoc class`[Link to phpdoc class](#codex:phpdoc['Codex\Codex'])` Link to phpdoc method`[Link to phpdoc method](#codex:phpdoc['Codex\Codex::get()'])` Class popover`[Class popover](#codex:phpdoc['Codex\Codex']:popover)` `[](#codex:phpdoc['Codex\Codex']:popover)` Method popover`[Method popover](#codex:phpdoc['Codex\Codex::get()']:popover)` Method popover + type`[Method popover + :type](#codex:phpdoc['Codex\Codex::get()']:popover::type)`Class type: `Class type: [](#codex:phpdoc['Codex\Codex']:type)`Interface type: `Interface type: [](#codex:phpdoc(Codex\Contracts\Codex):type)`Trait type: `Trait type: [](#codex:phpdoc(Codex\Concerns\HasCodex):type)`string type: `String type: [](#codex:phpdoc[string]:type)`array type: `Array type: [](#codex:phpdoc[array]:type)` Method tooltip`[Method tooltip](#codex:phpdoc['Codex\Codex::get()']:tooltip)` Method tooltip`[Method tooltip](#codex:phpdoc['Codex\Codex::get()']:tooltip)`ClassInterfaceTraitCode   `[](#codex:phpdoc())` Link Link Link`[Link](#codex:phpdoc())`   `[](#codex:phpdoc():!styling:!icon)`   `[](#codex:phpdoc():type:popover)`   `[](#codex:phpdoc():type:popover:drawer)`   `[](#codex:phpdoc():type:popover:drawer)`Copyright/License
-----------------

[](#copyrightlicense)

Copyright 2019 [Robin Radic](https://github.com/RobinRadic) - [MIT Licensed](LICENSE.md)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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/303828383a9c2bf382436a61f4471425428b28c095c6df9a9714444cbc163538?d=identicon)[radic](/maintainers/radic)

### Embed Badge

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

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

PHPackages © 2026

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