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

Architecture Laravel Package

phpno1/architecture

A Laravel/PHP package for applying clean architecture principles in real projects. It provides conventions and tooling to organize code into clear layers, reduce coupling, and keep applications consistent, testable, and easier to maintain as they grow. Designed to make architecture decisions explici...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. adopt vs. document a convention. This package is essentially a codified opinion on Laravel application layering — thin controllers, business logic in a service layer, persistence behind repositories, consistent response handling. The decision it feeds is "what does our standard Laravel service look like?", not "which Composer dependency do we install?" Treat the repo as a design reference that saves us from writing an internal architecture doc from scratch.
  • Starter kit / template evaluation. If we are standardizing project scaffolding across several Laravel services, this is a candidate input alongside Laravel's own skeleton and modern alternatives (e.g., Laravel Idea templates, domain-oriented starter kits). It informs the template decision even if we reject the package.
  • Onboarding and code-review standards. A shared layering convention directly reduces the "where does this logic go?" debate in PRs and shortens time-to-first-merged-PR for new engineers. That is a measurable onboarding cost, which makes this a legitimate PM-visible decision rather than a purely technical one.
  • Roadmap input for modularization. If the roadmap includes splitting a monolith or introducing bounded contexts, patterns like this one define the seams. Evaluating it now is cheap insurance against picking a structure ad hoc during delivery pressure.
  • Procurement and legal gating. The NOASSERTION license is itself a product decision: we cannot ship it inside a commercial product or vendor it into a client deliverable without resolving terms. That constraint shapes whether this is even an option.

Note what it does not support: it moves no user-facing metric, has no feature surface, and delivers no runtime capability. Its entire value is variance reduction across teams and codebases.

When to Consider This Package

Consider evaluating it (as reference code, not a dependency) when:

  • Multiple Laravel teams or services exist and structure is inconsistent between them.
  • You are starting a greenfield Laravel API and the team is PHP-fluent but lacks a shared convention.
  • You are maintaining a legacy Laravel 5.x codebase and want a pattern to adopt incrementally, file by file.
  • You want a concrete artifact to anchor an architecture RFC — a working example argues better than a wiki page.

Look elsewhere, or avoid entirely, when:

  • Framework drift. Last release 2018-04-08. Any target of Laravel 9/10/11 or PHP 8.2+ means the patterns may still be sound but the code almost certainly is not. Verify against your actual framework version before spending time.
  • License is unresolved. NOASSERTION fails most legal reviews. Without clarity you cannot vendor it, redistribute it, or embed it in a commercial deliverable. This alone is often disqualifying.
  • No maintenance signal. 63 stars, zero dependents, no releases in seven years. There is no community, no CVE response, no upstream to escalate to. Anything you adopt, you own forever.
  • Security or compliance review applies. Unmaintained third-party code with unclear provenance is a poor fit for regulated environments.
  • Your team cannot fork and maintain it. If nobody can own a fork, the correct answer is to write a short internal convention doc instead.

Practical pre-adoption checklist: pinned Laravel/PHP versions, license status, test coverage, upgrade path, and a named internal owner for the fork.

How to Pitch It (Stakeholders)

For executives: This is a small, abandoned open-source architecture template for Laravel. It is cheap to evaluate and expensive to depend on. The recommendation is to spend a short, time-boxed spike (roughly 2–3 engineer-days) reading it and extracting the parts we like into our own internal convention and starter template. We should not add it as a production dependency: it has had no releases since 2018, has no downstream users, and carries an unclear license that would not clear legal review. Cost of the spike is negligible; cost of adopting it as a dependency is an indefinite maintenance obligation with no upstream support. Net: adopt the pattern, not the package.

For engineering: It codifies a layered Laravel structure — controllers delegate, services hold business logic, repositories isolate persistence. That is a reasonable, widely understood convention and a good starting point for teams that keep re-litigating file placement. The code itself is seven years stale and will not match current framework idioms, so plan to rewrite rather than install. We fork the ideas, write our own base classes, and keep the dependency count at zero. If we do choose to reuse code, one named owner and a license review are prerequisites.

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.
skyraptor/chatter
edlugz/sasapay
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