foxws/laravel-ddd

Domain Driven Design scaffolding for Laravel projects
2,215 1
Install
composer require foxws/laravel-ddd
Latest Version:0.0.8
PHP:^8.4
Laravel:13
License:MIT
Last Updated:Oct 13, 2026
Links: GitHub  ·  Packagist
Maintainer: francoism90

Domain Driven Design scaffolding for Laravel projects

Installation

You can install the package via Composer:

composer require foxws/laravel-ddd

You may publish the package's config file:

php artisan vendor:publish --tag="ddd-config"

[!TIP] Let your AI agent do the hard parts. This package ships a Laravel Boost skill, laravel-ddd-development, that teaches your agent how to install, configure and use Laravel DDD. Install Boost and select the skill when prompted:

composer require laravel/boost --dev
php artisan boost:install

Already using Boost? Run php artisan boost:update --discover to pick up the skill. Then just ask, for example: "Set up Laravel DDD and create a CreateInvoice action in a Billing domain."

Usage

Install the DDD layer structure, then generate classes into it:

php artisan ddd:install
php artisan ddd:make CreateInvoice --type=action --domain=Billing

See the documentation for the full list of layers, generator types, and how to customize stubs and subfolders.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Thank you for considering contributing to Laravel DDD! Please review our contributing guide to get started.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

Laravel DDD is open-sourced software licensed under the MIT license.

Related Packages

tey/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

40,632 196
oleglfed/laravel-ddd

Generates domains for laravel Domain Driven Development

1,492 22
morilog/flexible-repository

Flexible and powerful repositories for laravel framework

2,415 4
artesaos/shield

A simple way to centralize your validation rules for laravel

749 32
longman/laravel-platfourm

Package to implement right Repository/Service architecture in Laravel 5.x

643 8

Version History

Version Released PHP Laravel License
0.0.8 ^8.4 ^13.0 MIT
0.0.7 ^8.4 ^13.0 MIT
0.0.6 ^8.4 ^13.0 MIT
0.0.5 ^8.4 ^13.0 MIT
0.0.4 ^8.4 ^13.0 MIT