PHPackages                             szepeviktor/phpstan-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. [Testing &amp; Quality](/categories/testing)
4. /
5. szepeviktor/phpstan-phpdoc

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

szepeviktor/phpstan-phpdoc
==========================

PHPDoc and typehint checks only for PHPStan

v0.2.1(6y ago)21.1k1MITPHP ~7.1

Since Jul 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/szepeviktor/phpstan-phpdoc)[ Packagist](https://packagist.org/packages/szepeviktor/phpstan-phpdoc)[ RSS](/packages/szepeviktor-phpstan-phpdoc/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

PHPDoc and typehint checks only for PHPStan
===========================================

[](#phpdoc-and-typehint-checks-only-for-phpstan)

[![CircleCI](https://camo.githubusercontent.com/7813df84a60ecbc13bdf6cb08889acf2379e3dccd35f0f0797d1ad2b4aedcd70/68747470733a2f2f636972636c6563692e636f6d2f67682f737a65706576696b746f722f7068707374616e2d706870646f632e7376673f7374796c653d737667)](https://circleci.com/gh/szepeviktor/phpstan-phpdoc) [![Packagist](https://camo.githubusercontent.com/ad677275fe33e4092c14efa746bcc80f2972c9347f25a7a2dc2ac6d0558db970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737a65706576696b746f722f7068707374616e2d706870646f632e7376673f636f6c6f723d323339393232267374796c653d706f706f7574)](https://packagist.org/packages/szepeviktor/phpstan-phpdoc)

This [PHPStan](https://github.com/phpstan/phpstan) extension checks only PHPDoc and typehint related errors in your code.

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

[](#installation)

1. Do not set rule level (`--level`)
2. Require this package in [Composer](https://getcomposer.org/):

```
composer require --dev szepeviktor/phpstan-phpdoc

```

If you also install [phpstan/extension-installer](https://github.com/phpstan/extension-installer)then you're all set.

Manual installationIf you don't want to use `phpstan/extension-installer`, include extension.neon in your project's PHPStan config:

```
includes:
    - vendor/szepeviktor/phpstan-phpdoc/extension.neon

```

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~99 days

Total

4

Last Release

2265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/135d8104cdf926e2b15b6a06413153a9582729f0cd48ccba7bc7e62878a39781?d=identicon)[szepeviktor](/maintainers/szepeviktor)

---

Top Contributors

[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (7 commits)")

---

Tags

phpdocphpstanphpstan-extensiontypehints

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k60.6M10.0k](/packages/larastan-larastan)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67375.0M1.5k](/packages/phpstan-phpstan-doctrine)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79278.2M2.5k](/packages/phpstan-phpstan-symfony)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

5014.2M109](/packages/shipmonk-dead-code-detector)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33923.4M615](/packages/spaze-phpstan-disallowed-calls)[mglaman/phpstan-drupal

Drupal extension and rules for PHPStan

20832.2M210](/packages/mglaman-phpstan-drupal)

PHPackages © 2026

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