PackageTrack
Sign in Get early access

phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

7.0.0 28M downloads/mo #687 most downloaded on Packagist phpDocumentor/Reflection

What this package is like to depend on

Last release 2 months ago

28 May 2026

Ships fairly regularly

a new release about every 6 months

Rarely documented

notes for 10 of 44 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

56 releases · first in 2012

8 releases in the last 12 months

see the full history below

Release timeline

56 releases · Nov 2012 to May 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 56
  1. 7.0.0 28 May 2026
    Release notes

    What's Changed

    This version contains breaking changes in regard to returned types where phpDocumentor\Reflection\Type is returned. You can consult Type resolver upgrade docs for more details about what has been changed in types.

    In v6 Expressions as strings were deprecated. We removed the support for string expressions like described in the deprecation in v6. By now only expression objects are returned.

    Full change overview

    • Use phpdocumentor/reflection-docblock v6 and phpdocumentor/type-resolver v2 by @mspirkov in #723
    • Fix syntax error in test PropertyHook by @AJenbo in #712
    • Allow webmozart assert v2 by @jaapio in #729
    • Remove redundant symfony/polyfill-php80 dependency by @brendt in #735
    • Include file path and line number in parse error messages by @lacatoire in #740
    • Remove old code by @jaapio in #745
    • Fix default value name resolving by @jaapio in #738

    New Contributors

    Full Changelog: 6.5.0...7.0.0

    Open source →
  2. 6.6.0 12 Apr 2026
    Release notes

    What's Changed

    • Add support for PHP 8.4 interface properties by @lacatoire in #739
    • Include file path and line number in parse error messages by @lacatoire in #740

    Full Changelog: 6.5.0...6.6.0

    Open source →
  3. 6.5.0 10 Apr 2026
    Release notes

    What's Changed

    • Files did not get any context when processed by @jaapio in #717
    • Add support for PHP 8.3 typed class constants by @lacatoire in #736

    New Contributors

    Full Changelog: 6.4.4...6.5.0

    Open source →
  4. 6.4.4 25 Nov 2025
    Release notes

    Fix issue with self referenced constants.

    Full Changelog: 6.4.3...6.4.4

    Open source →
  5. 6.4.3 25 Nov 2025
    Release notes

    What's Changed

    • Fix class resolve in expression containing a constant fetch.
    • Bump phpdocumentor/type-resolver from 1.11.1 to 1.12.0 by @dependabot[bot] in #706

    Full Changelog: 6.4.2...6.4.3

    Open source →
  6. 6.4.2 23 Nov 2025
    Release notes

    What's Changed

    Resolve issue with expressions where some default values were resolved incorrectly as FQSEN, now null will result in a Null_ type and booleans will result in True_ or False_. other values remain unchanged.

    • Use type resolver to resolve types in expressions by @jaapio in #703
    • Add support for php 8.5 by @jaapio in #695

    Full Changelog: 6.4.1...6.4.2

    Open source →
  7. 6.4.1 12 Nov 2025
    Release notes

    What's Changed

    Thanks to @bshaffer for reporting #697

    • Fix allow zero as expression value. by @jaapio in #698

    Full Changelog: 6.4.0...6.4.1

    Open source →
  8. 6.4.0 12 Nov 2025
    Release notes

    What's Changed

    This version adds support for more complex expressions in method arguments. The expressions allow users of this library to extract type information from default values of arguments.

    Full Changelog: 6.3.0...6.4.0

    Open source →
  9. 6.3.0 06 Jun 2025
    Release notes

    What's Changed

    This version adds support to detect virtual properties.

    • Find references to property if virtual by @jaapio in #672

    Full Changelog: 6.2.1...6.3.0

    Open source →
  10. 6.2.1 30 May 2025
    Release notes

    What's Changed

    Version 6.2.0 contained a wrong named class for Asymmetric visibility. This version renames the class, which should be considered a backward compatibility break. But because the release is rather new I do accept this for a patch release.

    Full Changelog: 6.2.0...6.2.1

    Open source →
  11. 6.2.0 30 May 2025

    Nothing published for this version

  12. 6.1.0 22 Nov 2024

    Nothing published for this version

  13. 6.0.0 23 May 2024

    Nothing published for this version

  14. 5.3.3 09 Oct 2023

    Nothing published for this version

  15. 5.3.2 04 Oct 2023

    Nothing published for this version

  16. 5.3.1 07 Dec 2022

    Nothing published for this version

  17. 5.3.0 14 Oct 2022

    Nothing published for this version

  18. 5.2.0 02 Apr 2022

    Nothing published for this version

  19. 5.1.1 29 Mar 2022

    Nothing published for this version

  20. 5.1.0 04 Jan 2022

    Nothing published for this version

  21. 5.0.1 08 Aug 2021

    Nothing published for this version

  22. 5.0.0 01 Jul 2021

    Nothing published for this version

  23. 4.0.1 19 Jun 2020

    Nothing published for this version

  24. 4.0.0 09 Feb 2020

    Nothing published for this version

  25. 4.0.0-beta4 07 Feb 2020 pre-release

    Nothing published for this version

  26. 4.0.0-beta3 27 Jan 2020 pre-release

    Nothing published for this version

  27. 4.0.0-beta2 07 Jan 2020 pre-release

    Nothing published for this version

  28. 4.0.0-beta 25 Mar 2019 pre-release

    Nothing published for this version

  29. 4.0.0-alpha6 31 Dec 2018 pre-release

    Nothing published for this version

  30. 4.0.0-alpha5 12 Oct 2018 pre-release

    Nothing published for this version

  31. 4.0.0-alpha4 12 Oct 2018 pre-release

    Nothing published for this version

  32. 4.0.0-alpha3 09 Aug 2018 pre-release

    Nothing published for this version

  33. 4.0.0-alpha2 19 Jun 2018 pre-release

    Nothing published for this version

  34. 4.0.0-alpha1 15 Jun 2018 pre-release

    Nothing published for this version

  35. 3.0.1 21 May 2016

    Nothing published for this version

  36. 3.0.0 19 Feb 2016

    Nothing published for this version

  37. 2.0.0-alpha2 05 Dec 2015 pre-release

    Nothing published for this version

  38. 2.0.0-alpha1 09 Aug 2015 pre-release

    Nothing published for this version

  39. 1.0.7 14 Nov 2014

    Nothing published for this version

  40. 1.0.6 06 Jun 2014

    Nothing published for this version

  41. 1.0.5 28 Mar 2014

    Nothing published for this version

  42. 1.0.4 08 Mar 2014

    Nothing published for this version

  43. 1.0.3 16 Feb 2014

    Nothing published for this version

  44. 1.0.2 29 Nov 2013

    Nothing published for this version

  45. 1.0.1 16 Sep 2013

    Nothing published for this version

  46. 1.0.0 01 Aug 2013

    Nothing published for this version

  47. 0.1.9 15 Jul 2013

    Nothing published for this version

  48. 0.1.8 15 Jul 2013

    Nothing published for this version

  49. 0.1.7 30 Jun 2013

    Nothing published for this version

  50. 0.1.6 23 Jun 2013

    Nothing published for this version

  51. 0.1.5 06 May 2013

    Nothing published for this version

  52. 0.1.4 25 Apr 2013

    Nothing published for this version

  53. 0.1.3 22 Dec 2012

    Nothing published for this version

  54. 0.1.2 22 Dec 2012

    Nothing published for this version

  55. 0.1.1 02 Dec 2012

    Nothing published for this version

  56. 0.1.0 29 Nov 2012

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive