Looking to hire Laravel developers? Try LaraJobs

laravel-action-dto maintained by dipesh79

Description
A minimal Action + DTO pattern for Laravel with great developer experience.
Author
Last update
2026/05/14 13:45 (1.x-dev)
License
Links
Downloads
43

Comments
comments powered by Disqus

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.