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

Module Support Laravel Package

saeedhosan/module-support

A Laravel package that adds module support for organizing your application into self-contained components, with helpers for registering module service providers, routes, and resources so features stay cleanly separated and easier to maintain.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modular monolith vs. microservices: A module-support package lets a Laravel team carve a growing application into self-contained modules (routes, controllers, views, config, migrations) without committing to service extraction. This is the cheaper middle path when you anticipate domain boundaries but don't yet have the team or ops maturity for distributed systems.
  • Build vs. buy for module scaffolding: If your roadmap includes splitting a monolith by domain (billing, catalog, identity), adopting a package for module registration and view/asset resolution saves weeks of internal plumbing. The alternative — hand-rolling a ServiceProvider registry — is deceptively simple at first and expensive to maintain.
  • Multi-tenant or white-label roadmaps: Module-style plugins are a common enabler for per-tenant or per-plan feature sets. Worth evaluating early if your roadmap includes feature toggling by customer segment.
  • Delivery risk flag: v0.0.1 with a single contributor and a bugfix for view path resolution tells you the view/asset layer was broken until now. Any roadmap item depending on module-provided Blade views should be treated as unproven.

When to Consider This Package

  • Only as a spike, not a commitment. At v0.0.1, pre-1.0, single maintainer, first external contribution, and a fix for a core path-resolution bug — this is not production-grade. Timebox an evaluation: one engineer, one sprint, one throwaway branch.
  • Consider it if: you want a minimal, dependency-light module registry and you're comfortable owning the code (fork-and-maintain) rather than consuming it as a dependency.
  • Look elsewhere if: your requirements include stable APIs, published documentation, semantic versioning guarantees, or a community for support. The mature default in this space is nwidart/laravel-modules, which has years of production use, docs, and an ecosystem of tooling. Compare directly before deciding.
  • Disqualifying signals to watch: no test suite, no changelog beyond autogenerated notes, no CI badges, no version past 0.0.x after a reasonable window, or continued single-maintainer bus factor.

How to Pitch It (Stakeholders)

For executives: This is a small, early-stage Laravel package for splitting an application into modules. It is not a purchase decision — it's free, open source, and low-stakes to trial. The strategic value is optionality: it keeps the door open to a modular architecture, which is cheaper than microservices and easier to reason about for a small team. I do not recommend building anything on it yet; I recommend a one-sprint evaluation against the established alternative so we can make an informed call when modularization actually hits the roadmap.

For engineering: v0.0.1 fixes view path resolution in the ServiceProvider — meaning module-supplied views didn't resolve correctly before. That's a core mechanism, and it landing after v0.0.0 is a maturity signal. Single maintainer, no documented API stability, no evidence of a test suite. Recommendation: do not add to composer.json in any production service. If the pattern interests you, fork it, read the ServiceProvider end-to-end (it's small), and cherry-pick ideas. Benchmark against nwidart/laravel-modules before we write any internal tooling.

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.
labyrinthe/connect-php
encore2/laravel-admin2
cboxdk/laravel-console-kit
shapecode/doctrine-dbal-datetimeutc
gilads-otiannoh254/inertia-protocol
dakiquang/laravel-oauth-refresh-lock
woda/laravel-worktrees
dalefranks/ramasite
faghy/laracashbook
roundly-consulting/google-places-for-laravel
roundly-consulting/kubernetes-api-for-laravel
roundly-consulting/plausible-for-laravel
gvp/gvp-laravel-template
metasyncsite/laravel-metasync-client
roundly-consulting/onboarding-for-laravel
adachsoft/cli-process-tester
adachsoft/changelog-linter
adachsoft/collection
adachsoft/php-code-style
adachsoft/api-version-bundle