Download the PHP package wendelladriel/laravel-validated-dto without Composer
On this page you can find all versions of the php package wendelladriel/laravel-validated-dto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wendelladriel/laravel-validated-dto
More information about wendelladriel/laravel-validated-dto
Files in wendelladriel/laravel-validated-dto
Package laravel-validated-dto
Short Description Data Transfer Objects with validation for Laravel applications
License MIT
Informations about the package laravel-validated-dto
Validated DTO for Laravel
Data Transfer Objects with validation for Laravel applicationsData Transfer Objects (DTOs) are objects that are used to transfer data between systems. DTOs are typically used in applications to provide a simple, consistent format for transferring data between different parts of the application, such as between the user interface and the business logic.
This package provides a base DTO Class that can validate the data when creating a DTO. But why should we do this instead of using the standard Request validation?
Imagine that now you want to do the same action that you do in an endpoint on a CLI command per example. If your validation is linked to the Request you'll have to implement the same validation again.
With this package you define the validation once and can reuse it where you need, making your application more maintainable and decoupled.
Documentation
Installation
Credits
- Wendell Adriel
- All Contributors
Contributing
Check the Contributing Guide.
All versions of laravel-validated-dto with dependencies
illuminate/console Version ^9.0|^10.0|^11.0
illuminate/database Version ^9.0|^10.0|^11.0
illuminate/http Version ^9.0|^10.0|^11.0
illuminate/support Version ^9.0|^10.0|^11.0
illuminate/validation Version ^9.0|^10.0|^11.0