Packagist · packagist:phpstan/phpdoc-parser
phpstan/phpdoc-parser active
PHPDoc parser with support for nullable, intersection and generic types
The latest stable version of phpstan/phpdoc-parser is 2.4.2, published on 2026-11-25. Verified by Vigia on 2026-11-27.
| Latest stable version | 2.4.2 |
|---|---|
| Published | 2026-11-25 13:45:51+00:00 |
| Install | composer require phpstan/phpdoc-parser |
| Required PHP version (composer.json) | PHP ^7.4 || ^8.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 00:40:02 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the packagist package "phpstan/phpdoc-parser", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpdoc-parser . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-25 13:45:51 UTC · 1 days ago |
| Stable releases in the last 12 months | 15 |
| Published versions | 121 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.4.2 | 2026-11-25 13:45:51 UTC |
2.4.1 | 2026-10-30 19:36:28 UTC |
2.4.0 | 2026-10-28 20:28:58 UTC |
2.3.12 | 2026-10-28 20:04:36 UTC |
2.3.11 | 2026-10-28 10:46:50 UTC |
2.3.10 | 2026-10-28 10:20:57 UTC |
2.3.9 | 2026-10-27 22:32:31 UTC |
2.3.8 | 2026-10-26 20:24:50 UTC |
2.3.7 | 2026-10-26 17:24:37 UTC |
2.3.6 | 2026-09-27 20:07:45 UTC |
2.3.5 | 2026-08-31 16:05:28 UTC |
2.3.4 | 2026-08-30 16:25:38 UTC |
2.3.3 | 2026-07-08 07:01:06 UTC |
2.3.2 | 2026-01-25 14:56:51 UTC |
2.3.1 | 2026-01-12 11:33:04 UTC |
2.3.0 | 2025-08-30 15:50:23 UTC |
2.2.0 | 2025-07-13 07:04:09 UTC |
2.1.0 | 2025-02-19 13:28:12 UTC |
2.0.2 | 2025-02-17 20:25:51 UTC |
2.0.1 | 2025-02-13 12:25:43 UTC |
Showing the 20 most recent of 121 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 2.4.2 |
php 8.0 | 2.4.2 |
php 8.1 | 2.4.2 |
php 8.2 | 2.4.2 |
php 8.3 | 2.4.2 |
php 8.4 | 2.4.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of phpstan/phpdoc-parser?
The latest stable version of phpstan/phpdoc-parser is 2.4.2, published on 2026-11-25. Verified by Vigia on 2026-11-27.
How do I install the latest version of phpstan/phpdoc-parser?
Run composer require phpstan/phpdoc-parser. The latest stable version is 2.4.2 (verified 2026-11-27).
Is phpstan/phpdoc-parser deprecated?
No. phpstan/phpdoc-parser is not marked as deprecated in the registry.
Which PHP version does phpstan/phpdoc-parser require?
phpstan/phpdoc-parser 2.4.2 declares this requirement: PHP ^7.4 || ^8.0.
Does phpstan/phpdoc-parser 2.4.2 have known vulnerabilities?
No known advisories affect phpstan/phpdoc-parser 2.4.2 according to the data Vigia checks.
Is phpstan/phpdoc-parser still maintained?
phpstan/phpdoc-parser published 15 stable releases in the last 12 months; the most recent was 1 days ago. Activity: active.
Observed changes
- Wed Nov 25 2026 14:39:25 GM +0000 (Coordinated Universal Time) — released 2.4.1 → 2.4.2
- Fri Oct 30 2026 20:27:14 GM +0000 (Coordinated Universal Time) — released 2.4.0 → 2.4.1
- Wed Oct 28 2026 21:26:27 GM +0000 (Coordinated Universal Time) — released 2.3.12 → 2.4.0
- Wed Oct 28 2026 20:26:25 GM +0000 (Coordinated Universal Time) — released 2.3.11 → 2.3.12
- Wed Oct 28 2026 11:26:18 GM +0000 (Coordinated Universal Time) — released 2.3.10 → 2.3.11
- Wed Oct 28 2026 10:26:17 GM +0000 (Coordinated Universal Time) — released 2.3.9 → 2.3.10
- ue Oct 27 2026 23:26:02 GMT+0000 (Coordinated Universal Time) — released 2.3.8 → 2.3.9
- Mon Oct 26 2026 21:25:31 GM +0000 (Coordinated Universal Time) — released 2.3.7 → 2.3.8
- Mon Oct 26 2026 17:25:26 GM +0000 (Coordinated Universal Time) — released 2.3.6 → 2.3.7
Related packages
- guzzlehttp/uri-template
- nunomaduro/termwind
- composer/pcre
- paragonie/constant_time_encoding
- composer/semver
- webmozart/assert
- fruitcake/php-cors
- league/config
- laravel/framework
- staabm/side-effects-detector
- laravel/tinker
- laravel/prompts
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/phpstan/phpdoc-parser) [](https://vigia.coredls.cloud/packagist/phpstan/phpdoc-parser) [](https://vigia.coredls.cloud/packagist/phpstan/phpdoc-parser)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpdoc-parser
GET https://vigia.coredls.cloud/v1/packages/packagist/phpstan/phpdoc-parser/versions/{version}