Download the PHP package tsarturi/simpledto without Composer
On this page you can find all versions of the php package tsarturi/simpledto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tsarturi/simpledto
More information about tsarturi/simpledto
Files in tsarturi/simpledto
Download tsarturi/simpledto
More information about tsarturi/simpledto
Files in tsarturi/simpledto
Vendor tsarturi
Package simpledto
Short Description Simple Data Transfer Objects with FormRequest Validation for Laravel applications
License MIT
Package simpledto
Short Description Simple Data Transfer Objects with FormRequest Validation for Laravel applications
License MIT
Please rate this library. Is it a good library?
Informations about the package simpledto
SimpleDTO
Simple Data Transfer Objects with FormRequest Validation for Laravel applications.This library was based on https://github.com/WendellAdriel/laravel-validated-dto .
Features | Installation | Configuration | Generating DTOs | Generating FormRequest
Features
Features:
- Allows the creation of DTO's easily and quickly.
- Easy integration into your existing projects.
- Validation of the data in the same way that it validates the Request.
- Use FormRequest for validation and authorization.
- Custom validation messages.
- Easy data conversion.
- Definition of default values.
Installation
Configuration
Publish the config file:
Generating DTOs
You can create DTOs using the make:simpledto
command:
It's create an UserDTO class into App\DTOs folder.
Generating FormRequest
You can create FormRequest class using the make:simpledtoformrequest
command:
It's create an UserStoreRequest into Form Request's folder
Using DTO's
Using DTO's with FormRequest
All versions of simpledto with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
illuminate/console Version ^9.0|^10.0
illuminate/database Version ^9.0|^10.0
illuminate/http Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0
illuminate/validation Version ^9.0|^10.0
illuminate/console Version ^9.0|^10.0
illuminate/database Version ^9.0|^10.0
illuminate/http Version ^9.0|^10.0
illuminate/support Version ^9.0|^10.0
illuminate/validation Version ^9.0|^10.0
The package tsarturi/simpledto contains the following files
Loading the files please wait ....