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. szepeviktor/phpstan-phpdoc

ActivePhpstan-extension

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

PHPDoc and typehint checks only for PHPStan

v0.2.1(5y ago)21.0k↓100%1MITPHP ~7.1

Since Jul 30Pushed 5y 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 1mo 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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

2175d 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.4k43.5M5.2k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

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

Doctrine extensions for PHPStan

66466.6M1.0k](/packages/phpstan-phpstan-doctrine)[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.

33120.0M372](/packages/spaze-phpstan-disallowed-calls)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

134391.5k12](/packages/rector-rector-src)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)

PHPackages © 2026

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