sontx / laravel-dod
Artisan to make: repositoty, action, dto, view model, service, .etc.
1.0.4
2025-05-06 06:59 UTC
Requires
- php: ^8.2
- laravel/framework: ^12.0
README
Laravel Domain Oriented Design is simple to make:
- Action
- Repository
- View Model
- Data Transfer Object
- Service
Installing
The recommended way to install Laravel DOD is through Composer.
composer require sontx/laravel-dod
Docs
Make Action.
php artisan make:action myAction
Make Repositoty.
php artisan make:repositoty myRepositoty
Make Repositoty without extend model
php artisan make:repositoty myRepositoty --no-model
Make DataTransferObject.
php artisan make:dto myDataTransferObject
Make Service.
php artisan make:service myService
Make ViewModel.
php artisan make:view-model myViewModel
Publish config.
php artisan vendor:publish --tag=laravel-dod-config