thecodingmachine/discovery
Discover PHP classes implementing a given interface by scanning your Composer classmap at runtime. Thecodingmachine/Discovery makes building plugin systems and auto-registering services simple, with no manual configuration or boilerplate required.
For executives: This package can reduce time-to-market for modular features by letting teams ship reusable packages that register themselves automatically. It supports a plugin-friendly roadmap and lowers coupling between core and add-on functionality—but it carries maintenance risk given its age and adoption level, so treat it as a tactical enabler, not a strategic platform bet.
For engineering: It provides Composer-based asset discovery for PHP packages, reducing manual registration boilerplate. Evaluate whether Laravel’s built-in discovery is sufficient first. If adopted, isolate it behind an internal abstraction, pin the version, and be prepared to fork or replace it if maintenance stalls. Best fit: internal package ecosystems or plugin-style architectures where automatic asset registration is a clear productivity win.
How can I help you explore Laravel packages today?