cruxinator / class-finder
locates defined classes within the autoloader
Installs: 2 894
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: ^7.4|^8.0
Requires (Dev)
- composer/composer: ^2.0.0
- phpunit/phpunit: ^9.6.13|10.0
- psr/log: ^1.1.4
Suggests
- composer/composer: Allows classmap generation at runtime useful for dev builds
This package is auto-updated.
Last update: 2024-11-29 23:38:29 UTC
README
#ClassFinder
Turbocharged version of get_declared_classes that gets classes from the autoloader as well as memory.
To install, run
composer require cruxinator/cruxinator/class-finder
To take advantage of the extended class finder:
$classList = \Cruxinator\ClassFinder\ClassFinder::getClasses();
-- Known Limitations --
- Conditionals can only execute after classes are loaded