thejano/laravel-domain-driven-design

Helps to use domain driven design within laravel
26,861 155
Install
composer require thejano/laravel-domain-driven-design
Latest Version:2.0.0
PHP:^8.2|^8.3|^8.4
License:MIT
Last Updated:Jun 30, 2026
Links: GitHub  ·  Packagist
Maintainer: drpshtiwan

Laravel Domain Driven Design

Latest Version on Packagist GitHub Code Style Action Status Total Downloads

Domain-Driven Design (DDD) is a software development approach that emphasizes understanding and modeling the business domain. The goal is to create software that aligns with the needs of the business and is easier to maintain. DDD uses concepts such as bounded contexts, entity modeling, and ubiquitous language to create robust and maintainable software architecture.

This package helps you to create domains within your Laravel application. It provides a set of artisan command to generate Models, Controllers, Actions, Services and more.

php artisan d:create Album

It would create a domain inside app folder under Domain/Album folder. Also, it would generate the following scaffold:

|____app
| |____ Domain
| | |____ Album
| | | |____ Models
| | | |____ Exceptions
| | | |____ Policies
| | | |____ Http
| | | | |____ Middleware
| | | | |____ Resources
| | | | |____ Requests
| | | | |____ Controllers
| | | |____ Actions
| | | |____ Jobs
| | | |____ Events
| | | |____ Data
| | | |____ Observers
| | | |____ Listeners
| | | |____ Services

Installation and Usage

Please, check the documentation below to install and use the package

https://ddd.thejano.com

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email drpshtiwan@thejano.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

buonzz/laravel

Laravel for Domain Driven Design.

13 0
arseto/lumencqrs

CQRS Template for Laravel/Lumen

200 3
nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

15,015 123
longman/laravel-platfourm

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

642 8
cline/strongly-typed-id

Strongly-typed ID value objects for PHP with support for UUID, ULID, NanoID, GUI...

8,610 0