Search by

foxws / laravel-ddd

francoism90

Domain Driven Design scaffolding for Laravel projects

Package info

github.com/foxws/laravel-ddd

pkg:composer/foxws/laravel-ddd

Fund package maintenance!

foxws

Statistics

Installs: 2 586

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.0.9 2026-10-14 07:20 UTC

This package is auto-updated.

Last update: 2026-10-14 19:48:26 UTC


README

Laravel DDD

Packagist PHP from Packagist Laravel versions GitHub Workflow Status (main) Total Downloads

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.