thecodingmachine/class-explorer
A PHP utility that discovers classes in your codebase by interface, parent class, attribute, or namespace. Built on Roave BetterReflection, it lets you explore implementations without loading them, making it handy for building registries, plugin systems, and convention-based discovery.
getClassMap method lets product/engineering teams retrieve the classes and associated files discovered by the package. This supports roadmap work around plugin/module auto-registration, extension registries, and convention-based discovery in Laravel applications.recursive parameter is a correctness fix. If we rely on cached discovery results while toggling recursive scanning, upgrading is advisable to avoid stale or incorrect class maps.Executive summary: This Laravel/PHP package provides class and file discovery with caching. Release v1.1.0 adds a getClassMap method for retrieving discovered classes and their files, and fixes a cache-key bug related to the recursive parameter. There are no indicated breaking changes. For product and engineering, this is a low-risk upgrade that improves introspection and correctness. It is most valuable when we need reusable class discovery for plugin systems, module registration, code generation, or internal developer tooling. It is not a broad static-analysis platform, so adopt it where class-to-file mapping is the concrete need.
How can I help you explore Laravel packages today?