laravel-ddd
v1.4.2Laravel DDD patterns. Opinionated domain-driven design with Actions, DTOs, QueryBuilders, and decision heuristics. Standalone; pairs well with kernel.
By Christian Attard1 GitHub starsUpdated 2 hours ago
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 47 skill or MCP entries
- Source updated
- Aug 25, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install plugin
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install laravel-ddd@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/attac-t/the-foundryClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/laravel-ddd/.
Plugin files
├── .claude-plugin/plugin.json├── skills/craft-action/SKILL.md├── skills/craft-collection/SKILL.md├── skills/craft-concern/SKILL.md├── skills/craft-context/SKILL.md├── skills/craft-controller/SKILL.md├── skills/craft-domain-structure/SKILL.md├── skills/craft-dto/SKILL.md├── skills/craft-event-driven-model/SKILL.md├── skills/craft-guard-clause/SKILL.md├── skills/craft-job/SKILL.md├── skills/craft-model/SKILL.md├── skills/craft-model-state/SKILL.md├── skills/craft-null-object/SKILL.md├── skills/craft-query/SKILL.md├── skills/craft-queueable-action/SKILL.md├── skills/craft-registry/SKILL.md├── skills/craft-result/SKILL.md├── skills/craft-shared-domain/SKILL.md├── skills/craft-support/SKILL.md├── skills/craft-test-factory/SKILL.md├── skills/craft-value-object/SKILL.md├── skills/craft-viewmodel/SKILL.md├── skills/decide-abstraction-timing/SKILL.md├── skills/decide-builder/SKILL.md├── skills/decide-casts/SKILL.md├── skills/decide-chunking/SKILL.md├── skills/decide-composition/SKILL.md├── skills/decide-dto-vs-array/SKILL.md├── skills/decide-eager-loading/SKILL.md├── skills/decide-enum-vs-state/SKILL.md├── skills/decide-events/SKILL.md├── skills/decide-extraction/SKILL.md├── skills/decide-guard-vs-exception/SKILL.md├── skills/decide-namespacing/SKILL.md├── skills/decide-pipelines/SKILL.md├── skills/decide-queuing/SKILL.md├── skills/decide-registry/SKILL.md├── skills/decide-streaming/SKILL.md├── skills/ground-action-composition/SKILL.md├── skills/ground-consumer-first/SKILL.md├── skills/ground-domain-evolution/SKILL.md├── skills/ground-domain-thinking/SKILL.md├── skills/ground-fail-fast/SKILL.md├── skills/ground-laravel/SKILL.md├── skills/ground-pragmatism/SKILL.md├── skills/ground-type-safety/SKILL.md└── skills/polish/SKILL.md
Included Skills47
Crafting an Action. The heart of business logic.
Crafting custom collections. Domain pipelines.
Crafting Concerns (traits). Thin wiring, not business logic.
Crafting Context Objects. Parameter encapsulation for complex operations.
Crafting thin controllers. Traffic cops, not business logic.
Crafting Domain Structure. Mini-Laravel-app per domain.
Crafting DTOs with Spatie Laravel Data v4.
Crafting Event-Driven Models. Side effects via observers.
Crafting Guard Clauses. Early returns for preconditions.
Crafting Jobs. Queue orchestration, not business logic.
Crafting the Eloquent model. Source of truth.
Crafting model states. Explicit state machines.
Crafting Null Objects. Safe defaults instead of null checks.
Crafting QueryBuilders. Eloquent power, not Repositories.
Crafting Queueable Actions. Skip job boilerplate.
Crafting Registries. Multi-provider handler dispatch.
Crafting Result Objects. Rich outcomes beyond success/failure.
Crafting Shared Domain. Cross-cutting concerns namespace.
Crafting Support namespace code. Reusable, domain-agnostic.
Crafting Test Factories. Beyond Laravel defaults.
Crafting Value Objects. Immutable, serialization-safe.
Crafting ViewModels. Data transformation for views.
When to abstract vs copy-paste. The rule of three.
When to use the fluent Builder pattern vs constructors or factories.
When to use Eloquent Cast vs Accessor. Value representation decisions.
When and how to process large datasets. Memory-efficient iteration.
When to use Trait+Interface vs Abstract Class. The art of mixing behaviors.
When to use DTO vs array. Type safety threshold.
When to eager load relationships. N+1 prevention decisions.
When to use enum vs state pattern. Complexity threshold.
When to use Events & Listeners vs direct calls. Decoupling decisions.
When to extract an Action class vs inline code. Extraction decisions.
When to return early vs throw. Control flow clarity.
When to place code in Support vs Domain. Namespace decisions.
When to use Laravel Pipelines vs sequential calls. Flow decisions.
When to queue work vs execute synchronously. Async decisions.
When to use the Registry pattern for runtime extensibility.
When to stream vs chunk vs load all. Memory vs complexity.
Action composition. Reuse without deep chains.
Consumer-first design. Shape the call-site before the implementation.
Domain evolution. Refactor structure as understanding deepens.
Domain thinking. Code mirrors business reality.
Fail-fast patterns. Reject invalid input at the boundary.
Laravel philosophy. Convention over config. Eloquent as truth. Invoke ONCE when entering Laravel context.
Pragmatism. Balance strictness with shipping.
Type safety philosophy. Catch bugs at write time, not run time.
Laravel polish. PHP/Laravel standards for each polish pass. Invoke when polishing PHP/Laravel code.
Plugin manifests1
{
"name": "laravel-ddd",
"version": "1.4.2",
"description": "Laravel DDD patterns. Opinionated domain-driven design with Actions, DTOs, QueryBuilders, and decision heuristics. Standalone; pairs well with kernel.",
"author": {
"name": "Christian Attard",
"url": "https://github.com/attac-t"
},
"keywords": [
"laravel",
"ddd",
"domain-driven-design",
"actions",
"eloquent",
"spatie"
],
"skills": "./skills/"
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[laravel-ddd on Agent Plugins Marketplace](https://pluginsmp.com/plugins/laravel-ddd)