PackageTrack
Sign in Get early access

spatie/php-structure-discoverer

Automatically discover structures within your PHP application

2.4.4 36M downloads/mo #391 most downloaded on Packagist spatie/php-structure-discoverer

What this package is like to depend on

Last release 2 months ago

15 Jun 2026

Release timing varies

gaps range from 1 weeks to 7 months

Most releases are documented

notes for 25 of 28 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

28 releases · first in 2022

7 releases in the last 12 months

see the full history below

Release timeline

28 releases · Jul 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 28
  1. 2.4.4 15 Jun 2026
    Release notes

    What's Changed

    Full Changelog: 2.4.3...2.4.4

    Open source →
    Release notes

    What's Changed

    • Revert #43: model discovery chain expansion by @freekmurze in https://github.com/spatie/php-structure-discoverer/pull/44

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.4.3...2.4.4

    Open source →
  2. 2.4.3 15 Jun 2026
    Release notes

    What's Changed

    Full Changelog: 2.4.2...2.4.3

    Open source →
    Release notes

    What's Changed

    • Fix #42: discover models extending package models by @freekmurze in https://github.com/spatie/php-structure-discoverer/pull/43

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.4.2...2.4.3

    Open source →
  3. 2.4.2 28 Apr 2026
    Release notes

    What's Changed

    • Fix modifier detection for classes with multiple modifiers by @adrian3d in #41

    New Contributors

    Full Changelog: 2.4.1...2.4.2

    Open source →
    Release notes

    What's Changed

    • Fix modifier detection for classes with multiple modifiers by @adrian3d in https://github.com/spatie/php-structure-discoverer/pull/41

    New Contributors

    • @adrian3d made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/41

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.4.1...2.4.2

    Open source →
  4. 2.4.1 17 Apr 2026
    Release notes

    What's Changed

    • Fix cache retrieval on Laravel 13 by manually serializing values by @freekmurze in #40

    Full Changelog: 2.4.0...2.4.1

    Open source →
    Release notes

    What's Changed

    • Fix cache retrieval on Laravel 13 by manually serializing values by @freekmurze in https://github.com/spatie/php-structure-discoverer/pull/40

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.4.0...2.4.1

    Open source →
  5. 2.4.0 21 Feb 2026
    Release notes

    Add Laravel 13 support

    Open source →
  6. 2.3.3 24 Nov 2025
    Release notes

    What's Changed

    • Added Symfony 8 support to all symfony/* packages. by @thecaliskan in #36

    Full Changelog: 2.3.2...2.3.3

    Open source →
    Release notes

    What's Changed

    • Added Symfony 8 support to all symfony/* packages. by @thecaliskan in https://github.com/spatie/php-structure-discoverer/pull/36

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.3.2...2.3.3

    Open source →
  7. 2.3.2 22 Sep 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.3.1...2.3.2

    Open source →
    Release notes

    What's Changed

    • Fix missing single quote in file cache driver path by @SebKay in https://github.com/spatie/php-structure-discoverer/pull/29
    • Update issue template by @AlexVanderbist in https://github.com/spatie/php-structure-discoverer/pull/30
    • Move amphp dependencies to suggest by @riasvdv in https://github.com/spatie/php-structure-discoverer/pull/32

    New Contributors

    • @SebKay made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/29
    • @AlexVanderbist made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/30
    • @riasvdv made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/32

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.3.1...2.3.2

    Open source →
  8. 2.3.1 14 Feb 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.3.0...2.3.1

    Open source →
    Release notes

    What's Changed

    • Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/php-structure-discoverer/pull/28

    New Contributors

    • @laravel-shift made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/28

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.3.0...2.3.1

    Open source →
  9. 2.3.0 13 Jan 2025
    Release notes

    What's Changed

    Full Changelog: 2.2.1...2.3.0

    Open source →
    Release notes

    What's Changed

    • Fix parsing classes containing anonymous classes by @stevebauman in https://github.com/spatie/php-structure-discoverer/pull/27

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.2.1...2.3.0

    Open source →
  10. 2.2.1 16 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.2.0...2.2.1

    Open source →
    Release notes

    What's Changed

    • Fix typo in README.md by @PerryvanderMeer in https://github.com/spatie/php-structure-discoverer/pull/24
    • Fix PHP 8.4 deprecation by @LordSimal in https://github.com/spatie/php-structure-discoverer/pull/26

    New Contributors

    • @PerryvanderMeer made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/24
    • @LordSimal made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/26

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.2.0...2.2.1

    Open source →
  11. 2.2.0 29 Aug 2024
    Release notes
    • Add a new uses resolver which can be used by external packages
    Open source →
  12. 2.1.2 13 Aug 2024
    Release notes
    • Fix issue where string or int backed enums with interfaces were not discovered
    • Added extra types
    Open source →
  13. 2.1.1 13 Mar 2024
    Release notes

    What's Changed

    • Create cache when requested (fixes #17) by @francoism90 in https://github.com/spatie/php-structure-discoverer/pull/18

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.1.0...2.1.1

    Open source →
  14. 2.1.0 16 Feb 2024
    Release notes

    What's Changed

    • Fix doc example spacing by @stevebauman in https://github.com/spatie/php-structure-discoverer/pull/15
    • Laravel 11 by @rubenvanassche in https://github.com/spatie/php-structure-discoverer/pull/16
    • Dropped support for Laravel 9

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.0.1...2.1.0

    Open source →
  15. 2.0.1 08 Jan 2024
    Release notes

    What's Changed

    • Docs - Fix config publish command by @stevebauman in https://github.com/spatie/php-structure-discoverer/pull/14
    • chore: update dependencies by @jameswagoner in https://github.com/spatie/php-structure-discoverer/pull/13

    New Contributors

    • @jameswagoner made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/13

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/2.0.0...2.0.1

    Open source →
  16. 2.0.0 21 Dec 2023
    Release notes
    • Add support for discovering structures using Reflection
    Open source →
  17. 1.2.1 04 Aug 2023
    Release notes
    • Add better support for detecting Laravel
    Open source →
  18. 1.2.0 27 Jul 2023
    Release notes

    What's Changed

    • Add ability to sort discovered files by @stevebauman in https://github.com/spatie/php-structure-discoverer/pull/6

    New Contributors

    • @stevebauman made their first contribution in https://github.com/spatie/php-structure-discoverer/pull/6

    Full Changelog: https://github.com/spatie/php-structure-discoverer/compare/1.1.1...1.2.0

    Open source →
  19. 1.1.1 24 Mar 2023
    Release notes
    • Add symphony finder as a requirement
    Open source →
  20. 1.1.0 17 Mar 2023
    Release notes
    • Allow discovered structures to be built using reflection
    Open source →
  21. 1.0.1 10 Feb 2023
    Release notes
    • Fix require with file cache driver
    Open source →
  22. 1.0.0 10 Feb 2023
    Release notes
    • initial release
    Open source →
  23. 0.0.6 10 Feb 2023

    Nothing published for this version

  24. 0.0.5 10 Feb 2023
    Release notes

    Test release

    Open source →
  25. 0.0.4 10 Feb 2023

    Nothing published for this version

  26. 0.0.3 16 Dec 2022
    Release notes
    • test release
    Open source →
  27. 0.0.2 18 Aug 2022
    Release notes
    • experimental release
    Open source →
  28. 0.0.1 15 Jul 2022

    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