kcs/class-finder
Utility classes to help discover other classes/namespaces
0.6.1
2.0M downloads/mo
#2538 most downloaded on Packagist
alekitto/class-finder
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 13 months
Some releases are documented
notes for 10 of 20 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
20 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
20 releases · Jan 2018 to Feb 2025Releases
latest 20-
0.6.120 Feb 2025Release notes
Open source → -
0.6.001 Dec 2024Release notes
Open source →What's new
- Generate classmap from offline finders (35172ed)
- Fully support
phpdocumentor/reflection4.x (dda7d8f) - Add finder based on
nikic/php-parser(8f270eb)
Fixes
- Normalize path separator
- Skip invalid files/classes in offline finders
Full Changelog: 0.5.4...0.6.0
-
0.5.414 Oct 2024Release notes
Open source →What's Changed
- Iterate psr-0/4 fallback dirs in composer finders (#23)
Full Changelog: 0.5.3...0.5.4
-
0.5.330 Aug 2024 -
0.5.222 Aug 2024 -
0.5.129 Jul 2024Release notes
Open source →What's changed
- Added support for phpdocumentor 6
- Added FileFinder to abstract recursive and file-based finders
- Added ClassMap finder and iterator
Fixes
- Updated GHA actions
- Do not call
rewindon iteration construction - Add list of files known to cause errors to be skipped
Full Changelog: 0.5.0...0.5.1
-
0.5.022 Mar 2024Release notes
Open source →Breaking changes
- Autoloading method is used by default from
ComposerFinder
To retain the previous behavior, the use of autoloader must be explicitly disabled. For example:
$finder = (new ComposerFinder()) ->in($path) ->useAutoloading(false);
What's changed
useAutoloadingcan now be used to instruct the finder to use autloading orinclude_oncewhile iterating classes- Expose
skipNonInstantiablemethod to skipabstractclasses, interfaces and traits - Add
skipBogonFilesmethod to reflection finders to prevent fatal errors in well-known cases - Add
roave/better-reflectionreflection factory
Fixes
- unwind error handlers stack to remove class-finder error handler
- fix a typo in README by @szepeviktor in #16
New Contributors
- @szepeviktor made their first contribution in #16
Full Changelog: 0.4.0...0.5.0
- Autoloading method is used by default from
-
0.4.011 Feb 2024Release notes
Open source →What's Changed
- add filter for files by @alleknalle in #10
You can now callpathFilteron the finders to filter files by filepath before inclusion
New Contributors
- @alleknalle made their first contribution in #10
Full Changelog: 0.3.2...0.4.0
- add filter for files by @alleknalle in #10
-
0.3.229 Mar 2023Release notes
Open source →What's Changed
- fix github actions on pr by @alekitto in #7
- allow safe ^2.0 by @lemorragia in #6
- chore(ci): update gha jobs by @alekitto in #8
New Contributors
- @lemorragia made their first contribution in #6
Full Changelog: 0.3.1...0.3.2
-
0.3.104 Mar 2022Release notes
Open source →CHANGES:
- Drop support for PHP 7.4, only 8.0+ is supported now
- Support
phpdocumentor/reflection 5.0 - Fix #5: fatal error if error handler do not return bool
- Add package documentation (https://alekitto.github.io/class-finder/)
-
0.3.031 Mar 2021Nothing published for this version
-
0.2.222 Feb 2021Nothing published for this version
-
0.2.120 Feb 2021Nothing published for this version
-
0.2.019 Dec 2020Nothing published for this version
-
0.1.527 Feb 2020Nothing published for this version
-
0.1.414 Jan 2020Nothing published for this version
-
0.1.325 Nov 2019Nothing published for this version
-
0.1.219 Jan 2018Nothing published for this version
-
0.1.117 Jan 2018Nothing published for this version
-
0.111 Jan 2018Nothing published for this version