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

Domain Bundle Laravel Package

open-solid/domain-bundle

A Laravel bundle for structuring domain-driven applications with SOLID-friendly building blocks, helping organize domain logic into clear, reusable components while keeping framework concerns separate from your core business model.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture direction: modular monolith vs. microservices. A domain-bundle package is the lever for the "carve bounded contexts inside one Laravel app now, extract services later if needed" path. Adopting it is effectively a decision to standardize on modular monolith for the next 12–18 months.
  • Build vs. buy for internal scaffolding. Every Laravel team that modularizes eventually hand-rolls module registration, service providers, and layer conventions. This package is the "buy" (well, adopt) option — the decision is whether the saved engineering weeks outweigh convention lock-in.
  • Feature/module delivery model. If the package supports enabling/disabling domain bundles per deployment, that directly unlocks roadmap items like tenant-specific feature sets, white-label variants, and enterprise-tier gating without forking the codebase.
  • Team scaling and onboarding. Codified domain boundaries reduce ramp time for new hires and reduce cross-team merge conflicts. This supports a hiring plan that assumes parallel squads.
  • Technical-debt investment sizing. Provides a reference target architecture for refactoring a flat app/ monolith — useful for scoping a "pay down coupling" initiative with a concrete migration path rather than an open-ended rewrite.
  • Release risk posture (v1.0.5). This is a patch-level release with no documented changes beyond a changelog diff link. Treat it as maintenance-only: it should not move the roadmap, but the absence of release notes is a process signal worth flagging to engineering.

When to Consider This Package

Consider it when:

  • You have a Laravel app where models, controllers, and business logic share a flat app/ tree and coupling is measurably slowing delivery (long PR review cycles, repeated merge conflicts, fear of change in shared code).
  • You have more than roughly one squad, or a roadmap that assumes parallel workstreams on the same codebase.
  • You want DDD-style layering (Domain / Application / Infrastructure) but do not want to spend a quarter building the wiring and conventions yourself.
  • You anticipate needing per-tenant or per-deployment module composition.
  • You want an incremental migration — one bounded context at a time — rather than a rewrite.

Look elsewhere when:

  • The product is a single-team MVP or CRUD app; the structural overhead will exceed the benefit.
  • You need framework-agnostic DDD — plain PHP with your own conventions, or the Symfony bundle ecosystem, avoids tying architecture to Laravel's lifecycle.
  • The existing architecture is already structured (Hexagonal, existing modules). Migrating onto new conventions is a real cost that must be estimated before adoption, not after.
  • Package health is a concern. A 1.0.x line with terse, link-only changelogs and no described changes suggests a small maintainer base. Verify commit cadence, issue responsiveness, test coverage, and whether a fork is viable before making it load-bearing.
  • You require vendor support, SLAs, or security backport guarantees.

How to Pitch It (Stakeholders)

For executives (one paragraph): We're evaluating a small Laravel add-on that gives us a standard way to split our application into independent business modules. The upside is speed: teams can ship features in parallel without stepping on each other, we can turn modules on or off per customer tier, and we avoid a multi-month custom build of the same plumbing. The risk is low — it's a patch-level 1.0.x dependency, not an infrastructure commitment — but it does encode architectural conventions, so the real cost is the discipline of following them.

For engineering leadership: This package supplies the wiring and conventions for domain modules so we don't hand-roll service provider registration, layer boundaries, and module lifecycle. Recommended path is a bounded pilot: pick one well-understood domain, migrate it, and measure PR cycle time and defect rate against a control module before committing the rest of the codebase. Two caveats to resolve during the pilot — first, the v1.0.5 release shipped with no release notes (changelog link only), so we should ask upstream for change detail and treat release hygiene as an adoption criterion; second, confirm we can exit cleanly if the package stalls, which means keeping our domain code free of package-specific types at the boundaries.

Recommendation: Proceed to a scoped pilot. Do not standardize org-wide until the pilot shows measurable delivery gains and we've confirmed maintenance health.

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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package