Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Discovery Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Plugin/module architecture: Enables packages to auto-register assets (service providers, config, routes, views, translations, migrations) without manual wiring, supporting decisions to build extensible Laravel applications or internal package ecosystems.
  • Build vs. buy: Avoids building a custom discovery layer when you need Composer-based asset publishing across multiple packages; however, compare against Laravel’s native package discovery before committing.
  • Roadmap for modular monoliths: Useful if your roadmap includes splitting features into reusable packages, third-party extensions, or a plugin marketplace.
  • Use cases: Multi-package Laravel apps, internal component libraries, CMS/plugin systems, and framework-agnostic PHP projects needing cross-package asset discovery.
  • Feature prioritization: Helps decide whether to invest in automatic registration of package assets versus manual bootstrap code, reducing integration friction for package authors.

When to Consider This Package

  • You maintain many first-party Composer packages and want automatic discovery of assets without editing central config files.
  • You need discovery semantics beyond Laravel’s built-in service provider discovery—e.g., routes, translations, views, or custom asset types.
  • You are building a plugin ecosystem where third-party packages must publish assets safely and predictably.
  • You want a lightweight, Composer-native approach rather than a full framework bundle system.
  • Look elsewhere if: Laravel’s native package discovery already covers your needs; you require active maintenance and long-term support (last release was 2022); the 101-star project feels too niche for a critical dependency; or you need robust caching, performance guarantees, and documented upgrade paths.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings