lorisleiva/lody
Lody loads files and PHP classes from given paths as lazy collections in Laravel. It returns a custom LazyCollection for fetching existing classes (resolved via PSR-4) or SplFileInfo files, with filters like isNotAbstract and isInstanceOf. Path resolution is configurable.
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.7.0...v0.7.1
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.6.0...v0.7.0
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.5.0...v0.6.0
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.4.0...v0.5.0
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.3.0...v0.4.0
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.2.0...v0.3.0
Resolve class names from filenames using PSR-4.
It uses the vendor/composer/autoload_psr4.php file to generate a dictionary of all namespaces from their paths. This means, Lody now properly resolve classes even in the vendor directory. See the readme for me details.
Full Changelog: https://github.com/lorisleiva/lody/compare/v0.1.0...v0.2.0
First release! 🥳
How can I help you explore Laravel packages today?