sebastiaanluca/laravel-module-loader
Laravel Module Loader lets you split a Laravel application into self-contained modules and automatically registers each module's service providers, routes, configuration, views, translations, and other resources without manual bootstrap code, keeping large projects organized and maintainable.
Consider the pattern (not the dependency) when:
app/Models, app/Http/Controllers, and app/Services communicate ownership, and engineers are regularly touching unrelated files to ship one feature.nwidart/laravel-modules) before writing your own ADR.Look elsewhere — or do not adopt the code at all — when:
For executives (one paragraph):
We evaluated laravel-module-loader as a way to organize our Laravel codebase into business-domain modules. The package itself is deprecated and unmaintained since 2021, so I am not recommending we adopt it as a dependency — that would add unsupported code to our stack for no gain. What I am recommending is that we borrow its structure: a small internal convention that groups code by business domain rather than by technical layer. This costs roughly one engineering week, carries no vendor or licensing risk (MIT), and buys us two things: clearer ownership as the team grows, and a cheaper path if we ever need to extract a domain into its own service. It is a low-cost option on future architecture, not a platform commitment.
For engineering leadership:
composer.json and forget about it.How can I help you explore Laravel packages today?