Data Transfer Objects with validation for Laravel applications. 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.

Features

  • Documentation available
  • Examples available
  • Data Transfer Objects with validation for Laravel applications
  • This package provides a base DTO Class that can validate the data when creating a DTO
  • Define the validation once and can reuse it where you need
  • Make your application more maintainable and decoupled

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Validated DTO for Laravel

Validated DTO for Laravel Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Validated DTO for Laravel!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2024-05-02