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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpstan70/phpdoc-parser
=======================

PHP 7.0 support for: PHPDoc parser with support for nullable, intersection and generic types

1.4.4(4y ago)0119MITPHPPHP ^7.2 || ^8.0

Since Nov 22Pushed 4y agoCompare

[ Source](https://github.com/phpstan70/phpdoc-parser)[ Packagist](https://packagist.org/packages/phpstan70/phpdoc-parser)[ RSS](/packages/phpstan70-phpdoc-parser/feed)WikiDiscussions 1.4.x Synced 1mo ago

READMEChangelogDependencies (6)Versions (41)Used By (0)

PHP 7.0 support for: PHPDoc-Parser for PHPStan
==============================================

[](#php-70-support-for-phpdoc-parser-for-phpstan)

 [![Build Status](https://github.com/phpstan/phpdoc-parser/workflows/Build/badge.svg)](https://github.com/phpstan/phpdoc-parser/actions) [![Latest Stable Version](https://camo.githubusercontent.com/1ba4e629b7640c5e35f264b316d89c1b8dccb8536cf13e8542c3ed6aea94025e/68747470733a2f2f706f7365722e707567782e6f72672f7068707374616e2f706870646f632d7061727365722f762f737461626c65)](https://packagist.org/packages/phpstan/phpdoc-parser) [![License](https://camo.githubusercontent.com/a403740e4670e1c2c81f269fde61b92ebe3ec481c74f42131764609202c96ea5/68747470733a2f2f706f7365722e707567782e6f72672f7068707374616e2f7068707374616e2f6c6963656e7365)](https://choosealicense.com/licenses/mit/) [![PHPStan Enabled](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://phpstan.org/)

- [PHPStan](https://phpstan.org)

---

Next generation phpDoc parser with support for intersection types and generics.

Code of Conduct
---------------

[](#code-of-conduct)

This project adheres to a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project and its community, you are expected to uphold this code.

Building
--------

[](#building)

Initially you need to run `composer install`, or `composer update` in case you aren't working in a folder which was built before.

Afterwards you can either run the whole build including linting and coding standards using

```
make

```

or run only tests using

```
make tests

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~40 days

Recently: every ~5 days

Total

41

Last Release

1489d ago

Major Versions

0.5.7 → 1.0.02021-09-12

PHP version history (5 changes)0.1PHP ~7.0

0.3PHP ~7.1

0.4.9PHP ^7.1 || ^8.0

1.3.0PHP ^7.2 || ^8.0

1.4.x-devPHP ^7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/12bb1d3b51340daa0f19c946f2ba7d3e4b277854fc722409809d0e43845fe0de?d=identicon)[garygitton](/maintainers/garygitton)

---

Top Contributors

[![JanTvrdik](https://avatars.githubusercontent.com/u/175109?v=4)](https://github.com/JanTvrdik "JanTvrdik (70 commits)")[![ondrejmirtes](https://avatars.githubusercontent.com/u/104888?v=4)](https://github.com/ondrejmirtes "ondrejmirtes (68 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (10 commits)")[![shmax](https://avatars.githubusercontent.com/u/773172?v=4)](https://github.com/shmax "shmax (9 commits)")[![arnaud-lb](https://avatars.githubusercontent.com/u/365207?v=4)](https://github.com/arnaud-lb "arnaud-lb (8 commits)")[![mglaman](https://avatars.githubusercontent.com/u/3698644?v=4)](https://github.com/mglaman "mglaman (7 commits)")[![kukulich](https://avatars.githubusercontent.com/u/260445?v=4)](https://github.com/kukulich "kukulich (7 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (4 commits)")[![rvanvelzen](https://avatars.githubusercontent.com/u/102603?v=4)](https://github.com/rvanvelzen "rvanvelzen (4 commits)")[![jiripudil](https://avatars.githubusercontent.com/u/1042159?v=4)](https://github.com/jiripudil "jiripudil (3 commits)")[![Kocal](https://avatars.githubusercontent.com/u/2103975?v=4)](https://github.com/Kocal "Kocal (3 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (3 commits)")[![sabbelasichon](https://avatars.githubusercontent.com/u/13050560?v=4)](https://github.com/sabbelasichon "sabbelasichon (2 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (2 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (2 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (2 commits)")[![williamdes](https://avatars.githubusercontent.com/u/7784660?v=4)](https://github.com/williamdes "williamdes (1 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (1 commits)")[![CountZero1981](https://avatars.githubusercontent.com/u/4760207?v=4)](https://github.com/CountZero1981 "CountZero1981 (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[appsero/client

Appsero Client

25431.7k9](/packages/appsero-client)[parfaitementweb/filament-country-field

Country dropdown with ISO 3166 options values

19155.0k1](/packages/parfaitementweb-filament-country-field)[mandango/mondator

Easy and flexible class generator for PHP

1917.9k3](/packages/mandango-mondator)[marvinlabs/laravel-html-font-awesome

A fluent html builder for Font Awesome icons

151.7k](/packages/marvinlabs-laravel-html-font-awesome)

PHPackages © 2026

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