dipesh79/laravel-action-dto

A minimal Action + DTO pattern for Laravel with great developer experience.

Maintainers

Package info

github.com/dipesh79/LaravelActionDto

pkg:composer/dipesh79/laravel-action-dto

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2026-04-16 12:05 UTC

This package is auto-updated.

Last update: 2026-04-16 12:06:29 UTC


README

Package Image

Laravel Action DTO

Latest Stable Version Total Downloads License Tests Coverage

This Laravel package helps you generate Action, DTO, Query, and CRUD boilerplate with a consistent structure.

Quick Start

Install Using Composer

composer require dipesh79/laravel-action-dto

Publish Configuration (Optional)

php artisan vendor:publish --tag=laravel-action-dto-config

Available Commands

php artisan make:action CreateUser
php artisan make:dto CreateUser
php artisan make:query User
php artisan make:crud User

Running make:crud User generates:

  • app/Queries/UserQuery.php
  • app/Actions/CreateUserAction.php
  • app/Actions/UpdateUserAction.php
  • app/Actions/DeleteUserAction.php
  • app/DTOs/UserIndexDTO.php
  • app/DTOs/UserShowDTO.php
  • app/DTOs/UserUpdateDTO.php

Official Documentation

Documentation can be found on my website.

License

MIT

Author

Support

For support, email dipeshkhanal79[at]gmail[dot]com.