aiwozhe/laravel-modules
Organize Laravel apps into self-contained modules with their own controllers, models, views, migrations, routes, and config. Includes Artisan commands to scaffold, publish, enable, disable, and manage modules, making large codebases easier to structure, reuse, and maintain.
Strong fit when:
Look elsewhere when:
app/Domain/...) or a lightweight convention without a module loader is cheaper.app/ paths and autoload maps; validate integration before committing.Adoption checklist before committing:
For executives — the one-paragraph version: This is a mature, MIT-licensed, widely adopted Laravel package that lets us structure our application into independent business modules inside a single deployable system. It costs nothing in licensing, requires no new infrastructure, and preserves our current hosting and deployment model. It has just shipped support for the current Laravel major, which tells us the maintenance is active and the upgrade path is being tracked. The business return is organizational: multiple squads can own separate parts of the product and ship in parallel without stepping on each other, and we can package optional capabilities for different customer segments without forking the codebase. The principal risk is discipline, not technology — boundaries only hold if we enforce them in code review and CI.
For engineering leadership — why it's the right lever:
What we are asking for: A time-boxed spike (one real module extracted end-to-end, plus CI and static-analysis validation) and agreement on module boundary conventions. No new infrastructure, no license spend, no vendor contract — the investment is engineering discipline and a small amount of onboarding.
How can I help you explore Laravel packages today?