sontx/laravel-dod

Artisan to make: repositoty, action, dto, view model, service, .etc.

v1.0.2 2024-08-07 10:25 UTC

This package is auto-updated.

Last update: 2025-04-07 11:54:32 UTC


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 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