haydenpierce/class-finder
A library that can provide of a list of classes in a given namespace
0.6.0
17M downloads/mo
#965 most downloaded on Packagist
source
What this package is like to depend on
Last release 2 months ago
30 May 2026
Release timing varies
gaps range from 3 weeks to 2.6 years
Most releases are documented
notes for 18 of 22 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
24 releases · first in 2018
4 releases in the last 12 months
see the full history below
Release timeline
24 releases · Aug 2018 to May 2026Releases
latest 24-
0.6.030 May 2026Release notes
Open source →- (Merge Request) Major performance improvements via caching and other methods. Thanks Gregory Gerard
-
0.6.0-beta30 May 2026 pre-releaseNothing published for this version
-
0.5.430 May 2026Release notes
Open source →- (Merge Request) Added support for emojis in filepaths, to support projects using livewire/livewire. Thanks Alex Bouma
-
0.5.4-beta19 Jan 2026 pre-releaseNothing published for this version
-
0.5.318 Jun 2023 -
0.5.201 May 2023Release notes
Open source →- (Merge Request) Fixed a bug where a user's first party classes and vendor provided classes could not both be discovered when using the same namespace
-
0.5.107 Feb 2023Release notes
Open source →- (Merge Request) Prevent a notice level error in cases where the
psr-4key isn't defined in an application's composer.json file., Thanks Jason Gill
- (Merge Request) Prevent a notice level error in cases where the
-
0.5.004 Feb 2023Release notes
Open source →- (Merge Request) Added
ClassFinder::disablePSR4VendorsandClassFinder::enablePSR4Vendors(), Thanks Jason Gill
- (Merge Request) Added
-
0.4.426 Sep 2022Release notes
Open source →- (Merge Request) Improvements to the readme for copy/pasting and Packagist. Thanks, tacman1
- (Merge Request) Fixed a type hint for an internally used function. Thanks, tacman1
-
0.4.305 Jan 2021Release notes
Open source →- (Merge Request) Updated testing harness to use PHPUnit 9.5.0 and PHP 8.0. No functional changes.
-
0.4.220 Apr 2020Release notes
Open source →- (Merge Request) Remove tests and other non-critical files when installing with
composer --perfer-dist. Thanks, Benedikt Franke
- (Merge Request) Remove tests and other non-critical files when installing with
-
0.4.131 Mar 2020Release notes
Open source →- #12 (Merge Request) Fix a deprecation notice. Thanks, Benedikt Franke and Adam Stark
-
0.4.015 Sep 2019 -
0.3.314 Jul 2019Release notes
Open source →- (Original Merge Request) via (Merge Request) Fixed a bug that caused an exception to be thrown when the
execfunction was disabled by PHP configuration - even when files support was explicitly disabled. Thanks, incraigulous.
- (Original Merge Request) via (Merge Request) Fixed a bug that caused an exception to be thrown when the
-
0.3.225 May 2019Release notes
Open source →- #11 (Merge Request) Fixed a bug that caused "Access Denied" errors when some directories were missing some permissions. Thanks, Leonardo Losoviz.
-
0.3.102 Mar 2019Release notes
Open source →- #8 (Merge Request) Fixed a bug that caused notices to be raised when a composer.json doesn't include an
autoloadconfiguration. Thanks, walid.ammar and TheFehr.
- #8 (Merge Request) Fixed a bug that caused notices to be raised when a composer.json doesn't include an
-
0.2.023 Sep 2018Release notes
Open source →- Added support for finding classes declared via
classmap. - Exceptions will no longer be thrown when PSR4 can't find a registered namespace (because it could be a valid class
declared in a
classmap)
Example composer.json that is now supported:
... "autoload": { ... "classmap": [ "src/foo/", "src/bar/" ] } ... - Added support for finding classes declared via
-
0.1.205 Sep 2018 -
0.1.103 Sep 2018Release notes
Open source →- Fixed a Linux specific bug that caused absolute paths to fail to resolve and erroneously throw exceptions. If you were
affected by this bug, you would see errors like
Unknown namespace Acme\Whatever. Checked for files in , but that directory did not exist. [...]when that namespace does indeed exist. - Support for PHP 5.3 is now under testing harness and should work now.
- Fixed a Linux specific bug that caused absolute paths to fail to resolve and erroneously throw exceptions. If you were
affected by this bug, you would see errors like
-
0.1.003 Sep 2018Release notes
Open source →- Vastly improved PSR4 support
- Loading classes from Composer packages is now supported.
- Namespaces that map to multiple directories is now supported.
- Fixed a bug where ClassFinder would use a more generic (and therefore wrong) namespace over a better one.
(Selecting
Acme, whenAcme\Foois a better choice)
- Manually overriding the AppRoot is now done with a static method instead of a static property
Mapping a namespace to multiple directories:
... "autoload": { "psr-4": { "Acme\\Foo\\": [ "src/", "srcButDifferent/" ] } } ...Old overriding app root:
ClassFinder::appRoot = '/home/hpierce/whatevs';New overriding app root:
ClassFinder::setAppRoot('/home/hpierce/whatevs'); - Vastly improved PSR4 support
-
0.0.205 Aug 2018Nothing published for this version
-
0.0.104 Aug 2018Nothing published for this version
-
0.3-beta01 Jan 2019Nothing published for this version
-
0.318 Feb 2019Nothing published for this version