foxws/laravel-ddd
| 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 |
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:installAlready using Boost? Run
php artisan boost:update --discoverto 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
Package to implement right Repository/Service architecture in Laravel 5.x
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 | |
| 0.0.3 | ^8.4 | ^13.0 | MIT | |
| 0.0.2 | ^8.4 | ^13.0 | MIT | |
| 0.0.1 | ^8.4 | ^13.0 | MIT |