dipesh79 / laravel-action-dto
A minimal Action + DTO pattern for Laravel with great developer experience.
1.0.1
2026-04-16 12:05 UTC
Requires
- php: ^8.1
- laravel/framework: ^13.0
Requires (Dev)
- laravel/pint: ^1.27
- pestphp/pest: ^4.0
- phpstan/phpstan: 2.2.x-dev
- rector/rector: ^2.0
README
Laravel Action DTO
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.phpapp/Actions/CreateUserAction.phpapp/Actions/UpdateUserAction.phpapp/Actions/DeleteUserAction.phpapp/DTOs/UserIndexDTO.phpapp/DTOs/UserShowDTO.phpapp/DTOs/UserUpdateDTO.php
Official Documentation
Documentation can be found on my website.
License
Author
Support
For support, email dipeshkhanal79[at]gmail[dot]com.