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

L5 Modular Laravel Package

artem-schander/l5-modular

l5-modular is a Laravel package for building modular applications with self-contained modules. It provides module generation, autoloading, and service provider registration so each feature lives in its own namespace, keeping large projects organized and maintainable.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Repository architecture: modular monolith vs. default Laravel MVC. This package is a concrete option when deciding whether to organize the codebase by domain module (Modules/Billing, Modules/Onboarding) rather than by layer (Http/, Models/). It makes that decision cheap to trial by scaffolding module skeletons via Artisan.
  • Build vs. buy vs. fork for internal scaffolding. The package is a generator, not a runtime module loader. That makes it a low-risk reference implementation: you can vendor the stubs/commands into an internal make:module generator and own it, rather than depending on it.
  • Roadmap sequencing for platform/architecture work. If the roadmap includes breaking a growing monolith into team-owned boundaries, a module generator is a cheap enabler for the "standardize structure before you scale headcount" milestone — usually a prerequisite for parallel team delivery and clean onboarding.
  • Use cases worth evaluating it against: multi-tenant SaaS with pluggable feature modules, agencies/consultancies delivering scoped work as discrete modules, and enterprise delivery where a module maps to a billable workstream or a client-specific extension.
  • Ecosystem-gap signal. With 216 stars, 0 dependents, and a last release of July 2021, the niche is under-served but also unvalidated. The product decision is not "adopt" — it's "is modular-monolith structuring valuable enough to us that we fund owning the tooling?" High opportunity, low maturity.

When to Consider This Package

Consider it when all of the following hold:

  • You specifically want scaffolding/codegen only — fast creation of module skeletons, namespaced controllers/models/routes, with either plain-PHP or Composer-style module structure. It does not provide runtime module registration, enable/disable, or autoload orchestration.
  • You are greenfield or doing a deliberate restructuring, and the cost of a convention decision is low.
  • You are comfortable forking or vendoring the generator into your repo and maintaining it yourself — this is a template, not a dependency you should lean on.
  • You want an MIT-licensed starting point with a small, readable command surface rather than a heavyweight framework.

Look elsewhere (or skip it) when:

  • You need a runtime module system — activation, dependency resolution, per-module service providers, migrations, and asset publishing at scale. nwidart/laravel-modules is the mature, actively maintained default and has a real ecosystem.
  • You need current Laravel support. Last release 2021-07-27 means no guarantee of compatibility with Laravel 10/11/12; assume you will be patching service providers and test scaffolding yourself.
  • You need maintenance assurance: single-maintainer project, zero dependents, no downstream users to surface bugs or fund fixes. That is the opposite of a supply-chain safety net.
  • Your team would be equally served by plain PSR-4 namespacing plus a handful of custom Artisan stubs — which is roughly what this package is, and which you'd own outright.

How to Pitch It (Stakeholders)

For executives (one paragraph): This is a small, MIT-licensed code generator that helps teams structure a Laravel codebase into domain modules instead of one flat application. The strategic value is organizational, not technical: clear module boundaries let multiple teams work in parallel, make scope and ownership legible, and shorten onboarding on large codebases. The package itself is a starter pattern, not infrastructure — it was last released in 2021, has a single maintainer, and no downstream dependents. Recommendation: do not adopt it as a production dependency. Instead, use it as a reference implementation and spend a short, bounded effort (roughly one to two sprints of platform work) internalizing the generator so we own the convention. The real decision on the table is whether modular monolith structure is on our architecture roadmap — if it is, owning a ~500-line generator is cheap; if it isn't, this package is a distraction.

For engineering (the honest version): 216 stars, one maintainer, last release July 2021, zero dependents — that combination means no compatibility guarantees for modern Laravel, no community triage, and no upgrade path. The upside is that the surface area is tiny and the code is legible: Artisan commands plus stubs for plain-PHP and Composer-style modules. Two viable paths: (1) Vendor the stubs into stubs/ with our own make:module command and take on ownership — recommended, low cost, no external dependency; (2) if we want a maintained runtime module system with activation, providers, and publishing, evaluate nwidart/laravel-modules instead and treat this package as prior art. Do not add it to composer.json as a runtime requirement. Whichever path we take, pair it with a written boundary-convention doc and a CI check that enforces module isolation, otherwise the structure decays within two quarters regardless of the 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.
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
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route