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

Laravel Domain Oriented Laravel Package

adhenrique/laravel-domain-oriented

A Laravel package for organizing applications by domain rather than technical layers, helping group models, actions, and services into modular domain-oriented structures for clearer boundaries and more scalable codebases.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture standardization: Informs whether we adopt a domain-oriented (modular monolith) layout for Laravel services — internal APIs, admin backends, and products with clear bounded contexts — instead of the default technical-layer folders (app/Http, app/Services, app/Models).
  • Build vs. buy vs. borrow: This is a borrow/reference decision, not a commercial purchase. The PM question is "do we adopt this convention, fork it, or ignore it," not "do we license it." MIT licensing keeps the borrowing path open.
  • MVP and roadmap scoping: Supports a time-boxed spike to validate whether domain-oriented structure improves delivery speed and onboarding before committing roadmap capacity to an architecture refactor.
  • Modular monolith vs. microservices: Helps evaluate whether a well-structured Laravel monolith can defer service extraction for a year or more. Success reduces early platform complexity; failure clarifies the threshold at which a service split becomes justified.
  • Delivery risk and dependency governance: With 11 stars, 0 dependents, no release since January 2022, and thin documentation, adopting it as a production dependency is a maintenance-ownership decision. PM should default to "reference/fork only" unless engineering names an owner and accepts upgrade responsibility.
  • Prioritization signal: The high opportunity score (3.63) against a low quality score (0.515) says the problem — structure for domain-oriented Laravel APIs — is worth solving, but this artifact is not the durable solution. That argues for an internal ADR and a small internal convention library, not a roadmap line item for "integrate this package."

When to Consider This Package

  • Consider it when: the team is already on Laravel 8/9 (PHP ≤8.1), wants a domain-oriented API scaffold, and is comfortable auditing and owning a small, lightly adopted OSS dependency or vendoring it outright.
  • Good fit for: architecture spikes, internal tools, early-stage prototypes, or a comparison exercise against the team's current structure — especially where the team wants DDD-lite boundaries without designing the folder layout from scratch.
  • Reasonable if: its conventions closely match an existing internal standard, the code can be forked under MIT with a named internal owner, and there is a compatibility test plan for future Laravel majors.
  • Look elsewhere when: the product needs a maintained dependency with current Laravel support, security responsiveness, broad community validation, or documented upgrade paths. On Laravel 10+ the practical posture is to port the pattern, not install the package.
  • Avoid as a foundation for: long-lived, business-critical, regulated, or multi-team platforms. The last release was January 2022 (roughly three Laravel majors behind), v2.1.1 shipped a field rename in a patch (a loose-semver signal), and with zero dependents, bugs will surface in our production first.
  • Also look elsewhere if: the team lacks DDD/module-boundary experience (the package helps with where files go, not what a bounded context is), needs extensive documentation, or expects auth, queues, events, observability, or deployment tooling — none of which this provides.

How to Pitch It (Stakeholders)

Executive summary: This is a small, MIT-licensed Laravel package offering an opinionated domain-oriented API structure — an accelerator for conventions, not a strategic platform. Its potential value is faster alignment on modular Laravel structure and less architecture debate during an MVP or internal API build. The adoption risk is material: low community traction, zero dependent projects, sparse documentation, and no release since early 2022. Recommendation: run a one-week engineering spike or use it as reference architecture; do not take a production dependency without a named owner, a fork/vendor plan, and Laravel-version compatibility checks. The pattern can be internalized under MIT at low cost, capturing the opportunity value at the package's risk level.

Engineering summary: Treat the repository as a starting convention, not an unmanaged dependency. The recommended path is pattern adoption, not package adoption — spike in a throwaway app, vendor the thin base classes and stubs into our own namespace with our standards and test harness, pilot on one non-critical bounded context for one or two sprints, then promote or discard via an ADR. Budget roughly 2–5 engineer-days per year for a vendored fork, mostly around Laravel major upgrades. Pair the convention with static analysis (PHPStan/deptrac), because nothing in the package prevents developers from bypassing the base classes — without guardrails, the convention will erode within a couple of quarters. Key open questions before any commitment: actual composer.json version constraints, test/CI coverage, whether the package owns container bindings or global behavior, and how tightly application classes couple to its base classes.

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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast