made with Laravel

Laravel Validated DTO

Data Transfer Objects with Validation

Visit Site

Description

Data Transfer Objects with Validation

"Data 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."


Creator

Wendell Adriel
@wendell_adriel


Social Media Links

Bouncer Eloquent Roles & Abilities
icon-eye-dark Created with Sketch. 4.367
Laravel Updater Update your Laravel Project with One Command
icon-eye-dark Created with Sketch. 1.734
Sentry for Laravel Laravel Application Monitoring
❤️ Sponsored by Friends
LaraScan Security-focused Static Analysis
icon-eye-dark Created with Sketch. 66
Laravel Terminator Refactoring Tool
icon-eye-dark Created with Sketch. 1.248
Laravel Security Check Security Tools & Best Practices
icon-eye-dark Created with Sketch. 1.079