phpstan/phpdoc-parser
PHPDoc parser with support for nullable, intersection and generic types
2.3.3
388M downloads/mo
#102 most downloaded on composer
phpstan/phpdoc-parser
What this package is like to depend on
Last release 1 months ago
08 Jul 2026
Release timing varies
gaps range from 9 days to 5 months
Rarely documented
notes for 10 of 109 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
109 releases · first in 2017
4 releases in the last 12 months
see the full history below
Release timeline
109 releases · Nov 2017 to Jul 2026Releases
latest 60 of 109-
2.3.308 Jul 2026Release notes
Open source →- fb19eed - Support for
@pure-unless-parameter-passed - 4ad7ea9 - Update github-actions to v3.0.1 (#303)
- f19f2f4 - Update github-actions to v7 (#304)
- 0693faf - Update github-actions (#302)
- febda27 - Send PR to 2.2.x
- 1b7cc35 - Replace deprecated actions/create-release with softprops/action-gh-release
- 5d982a2 - Bump GitHub Actions across major versions
- c79a987 - Bump GitHub Actions within their current majors
- 6f065b5 - Update github-actions
- dda1015 - Update github-actions
- 689f399 - Update release-toot.yml (#299)
- 4d4ad14 - Delete .github/workflows/claude-react-on-comment.yml
- ca8f871 - Lint workflows
- fa93f1c - [StepSecurity] ci: Harden GitHub Actions
- 60e1ac5 - Remove PHPSTAN_BOT_TOKEN from checkout step
- f1ddda6 - Add missing feature descriptions to README
- 53945a7 - Add PHP 8.5 support to Slevomat coding standards
- ff1f603 - Update Slevomat CS ref to ae7325d76167f02e3b20b0ad19122dcf472188e4
- 048bec6 - Trigger react-on-comment workflow on issues opened and add issue body fallback
- ff57171 - Add PHP 8.5 to CI build matrix
- 9b259c7 - Exclude entire doc directory from distribution archive
- 29872e9 - Add Claude React on Comment workflow
- fb19eed - Support for
-
2.3.225 Jan 2026Release notes
Open source → -
2.3.112 Jan 2026Release notes
Open source →- 16dbf99 - __set_state for Comment
- bbf4f8d - More tests
- afd1aa5 - Implement __set_state() for all AST node classes
- fc79f19 - Test about PhpDocNode exporting to file
- 972c2c4 - Update CLAUDE.MD with comprehensive project documentation
- b22787a - Add CLAUDE.MD with testing and quality check instructions
- bd6f207 - Fix CS
-
2.3.030 Aug 2025Release notes
Open source → -
2.2.013 Jul 2025 -
2.1.019 Feb 2025 -
2.0.217 Feb 2025 -
2.0.113 Feb 2025 -
2.0.013 Oct 2024Release notes
Open source →phpstan/phpdoc-parser 2.0 is here! 🎉
This release brings API cleanup and enables new features for everyone that were previously hidden behind opt-in feature toggles, like:
- Parsing Doctrine annotations
- Type aliases with invalid types being preserved
- Text between tags always belongs to description
- ...and more...
See the UPGRADING guide for details.
phpstan/phpdoc-parser 2.0 will also be included in PHPStan 2.0 that's going to be released on Monday November 11th 2024.
-
1.33.013 Oct 2024Release notes
Open source →- 82a311f - Support for
non-empty-arrayandnon-empty-listarray shape kind
- 82a311f - Support for
-
1.32.026 Sep 2024Nothing published for this version
-
1.31.022 Sep 2024Nothing published for this version
-
1.30.107 Sep 2024Nothing published for this version
-
1.30.029 Aug 2024Nothing published for this version
-
1.29.131 May 2024Nothing published for this version
-
1.29.006 May 2024Nothing published for this version
-
1.28.003 Apr 2024Nothing published for this version
-
1.27.021 Mar 2024Nothing published for this version
-
1.26.023 Feb 2024Nothing published for this version
-
1.25.004 Jan 2024Nothing published for this version
-
1.24.516 Dec 2023Nothing published for this version
-
1.24.426 Nov 2023Nothing published for this version
-
1.24.318 Nov 2023Nothing published for this version
-
1.24.226 Sep 2023Nothing published for this version
-
1.24.118 Sep 2023Nothing published for this version
-
1.24.007 Sep 2023Nothing published for this version
-
1.23.103 Aug 2023Nothing published for this version
-
1.23.023 Jul 2023Nothing published for this version
-
1.22.129 Jun 2023Nothing published for this version
-
1.22.001 Jun 2023Nothing published for this version
-
1.21.329 May 2023Nothing published for this version
-
1.21.229 May 2023Nothing published for this version
-
1.21.129 May 2023Nothing published for this version
-
1.21.017 May 2023Nothing published for this version
-
1.20.402 May 2023Nothing published for this version
-
1.20.325 Apr 2023Nothing published for this version
-
1.20.222 Apr 2023Nothing published for this version
-
1.20.122 Apr 2023Nothing published for this version
-
1.20.020 Apr 2023Nothing published for this version
-
1.19.118 Apr 2023Nothing published for this version
-
1.19.017 Apr 2023Nothing published for this version
-
1.18.107 Apr 2023Nothing published for this version
-
1.18.006 Apr 2023Nothing published for this version
-
1.17.104 Apr 2023Nothing published for this version
-
1.17.004 Apr 2023Nothing published for this version
-
1.16.107 Feb 2023Nothing published for this version
-
1.16.029 Jan 2023Nothing published for this version
-
1.15.320 Dec 2022Nothing published for this version
-
1.15.216 Dec 2022Nothing published for this version
-
1.15.115 Dec 2022Nothing published for this version
-
1.15.007 Dec 2022Nothing published for this version
-
1.14.027 Nov 2022Nothing published for this version
-
1.13.120 Nov 2022Nothing published for this version
-
1.13.021 Oct 2022Nothing published for this version
-
1.12.121 Oct 2022Nothing published for this version
-
1.12.020 Oct 2022Nothing published for this version
-
1.11.014 Oct 2022Nothing published for this version
-
1.10.012 Oct 2022Nothing published for this version
-
1.9.006 Oct 2022Nothing published for this version
-
1.8.004 Sep 2022Nothing published for this version