PHPackages                             phpactor/docblock - 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. phpactor/docblock

AbandonedArchivedLibrary

phpactor/docblock
=================

Simple Docblock Parser

0.3.6(4y ago)4105.7k↓13.2%2[1 PRs](https://github.com/phpactor/docblock/pulls)1MITPHPPHP ^7.3 || ^8.0

Since Sep 2Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (12)Used By (1)

Docblock Parser
===============

[](#docblock-parser)

**DEPRECATED**: See  for a better solution.

Sub-standard docblock parser.

```
$docblock = (new DocblockFactory())->create('/** @var Foobar */');
$vars = $docblock->tags()->byName('var');

foreach ($vars as $var) {
    $var->type();
    $var->varName();
}
```

Why?
----

[](#why)

There is already a [standards-compliant library](https://github.com/phpDocumentor/ReflectionDocBlock) for PHP-Documentor, however it is coupled to the PHPDocumentor type reflection library. This library only cares about parsing docblocks badly for [Phpactor](https://github.com/phpactor/phpactor).

Contributing
------------

[](#contributing)

This package is open source and welcomes contributions! Feel free to open a pull request on this repository.

Support
-------

[](#support)

- Create an issue on the main [Phpactor](https://github.com/phpactor/phpactor) repository.
- Join the `#phpactor` channel on the Slack [Symfony Devs](https://symfony.com/slack-invite) channel.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 90.5% 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.

###  Release Activity

Cadence

Every ~175 days

Recently: every ~231 days

Total

8

Last Release

1533d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24ec7d5d6b7ea54007be5d7b4f43800381cc1e22929f7d2276fba30e497fdfa6?d=identicon)[dantleech](/maintainers/dantleech)

---

Top Contributors

[![dantleech](https://avatars.githubusercontent.com/u/530801?v=4)](https://github.com/dantleech "dantleech (67 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (6 commits)")[![lumnn](https://avatars.githubusercontent.com/u/2505114?v=4)](https://github.com/lumnn "lumnn (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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