thejano / laravel-domain-driven-design
Helps to use domain driven design within laravel
Installs: 9 269
Dependents: 0
Suggesters: 0
Security: 0
Stars: 145
Watchers: 4
Forks: 15
Open Issues: 1
Requires
- php: ^8.1|^8.2
- laravel/framework: ^10.0|^11.0
Requires (Dev)
- laravel/pint: ^1.6
- phpstan/phpstan: ^1.10
This package is auto-updated.
Last update: 2024-10-29 03:37:48 UTC
README
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.
You create an Album domain just by running
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
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.