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 2026Releases
latest 28-
2.4.415 Jun 2026Release notes
Open source →What's Changed
- Revert #43: model discovery chain expansion by @freekmurze in #44
Full Changelog: 2.4.3...2.4.4
Release notes
Open source →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
-
2.4.315 Jun 2026Release notes
Open source →What's Changed
- Fix #42: discover models extending package models by @freekmurze in #43
Full Changelog: 2.4.2...2.4.3
Release notes
Open source →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
-
2.4.228 Apr 2026Release notes
Open source →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
-
2.4.117 Apr 2026Release notes
Open source →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
Release notes
Open source →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
-
2.4.021 Feb 2026 -
2.3.324 Nov 2025Release notes
Open source →What's Changed
- Added Symfony 8 support to all symfony/* packages. by @thecaliskan in #36
Full Changelog: 2.3.2...2.3.3
Release notes
Open source →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
-
2.3.222 Sep 2025Release notes
Open source →What's Changed
- Fix missing single quote in file cache driver path by @SebKay in #29
- Update issue template by @AlexVanderbist in #30
- Move amphp dependencies to suggest by @riasvdv in #32
New Contributors
- @SebKay made their first contribution in #29
- @AlexVanderbist made their first contribution in #30
- @riasvdv made their first contribution in #32
Full Changelog: 2.3.1...2.3.2
Release notes
Open source →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
-
2.3.114 Feb 2025Release notes
Open source →What's Changed
- Laravel 12.x Compatibility by @laravel-shift in #28
New Contributors
- @laravel-shift made their first contribution in #28
Full Changelog: 2.3.0...2.3.1
Release notes
Open source →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
-
2.3.013 Jan 2025Release notes
Open source →What's Changed
- Fix parsing classes containing anonymous classes by @stevebauman in #27
Full Changelog: 2.2.1...2.3.0
Release notes
Open source →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
-
2.2.116 Dec 2024Release notes
Open source →What's Changed
- Fix typo in
README.mdby @PerryvanderMeer in #24 - Fix PHP 8.4 deprecation by @LordSimal in #26
New Contributors
- @PerryvanderMeer made their first contribution in #24
- @LordSimal made their first contribution in #26
Full Changelog: 2.2.0...2.2.1
Release notes
Open source →What's Changed
- Fix typo in
README.mdby @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
- Fix typo in
-
2.2.029 Aug 2024 -
2.1.213 Aug 2024Release notes
Open source →- Fix issue where string or int backed enums with interfaces were not discovered
- Added extra types
-
2.1.113 Mar 2024Release notes
Open source →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
-
2.1.016 Feb 2024Release notes
Open source →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
-
2.0.108 Jan 2024Release notes
Open source →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
-
2.0.021 Dec 2023 -
1.2.104 Aug 2023 -
1.2.027 Jul 2023Release notes
Open source →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
-
1.1.124 Mar 2023 -
1.1.017 Mar 2023 -
1.0.110 Feb 2023 -
1.0.010 Feb 2023 -
0.0.610 Feb 2023Nothing published for this version
-
0.0.510 Feb 2023 -
0.0.410 Feb 2023Nothing published for this version
-
0.0.316 Dec 2022 -
0.0.218 Aug 2022 -
0.0.115 Jul 2022Nothing published for this version