laravel-ddd/starter
Composer starter kit that turns a fresh Laravel 12/13 app into a Domain-Driven Design structure. Includes base Entity/ValueObject/Repository/Service classes, 12 generators, interactive installer (auth, docs, tests, sample module), API-ready routes, and optional AI context.
AGENTS.md context) for workflow automation.Adopt when:
AGENTS.md).Look elsewhere when:
For Executives: "This package lets us build scalable, modular applications with Laravel while enforcing best practices for complex domains. It’s like hiring a senior architect to structure our codebase upfront—saving months of refactoring later. For example, if we’re launching a [product X] with intricate workflows (e.g., subscriptions, fraud detection), this ensures our codebase grows cleanly. The interactive setup also reduces onboarding time for new hires by 30%."
Key Benefits:
AGENTS.md).For Engineering:
"This is a force-multiplier for DDD adoption. It handles the boilerplate—12 Artisan commands generate modules, entities, services, and tests in seconds. For instance, spinning up a Products module with routes, validation, and tests takes one command (ddd:make-module Products). The base classes (Entity, Repository) ensure consistency, and the AI context (AGENTS.md) could help us prototype workflows faster. It’s Laravel-native, so no framework lock-in."
Risk Mitigation:
Users) to validate the structure.How can I help you explore Laravel packages today?