Package

Wendelladriel Laravel Validated Dto

Data Transfer Objects with validation for Laravel applications

Package

wendelladriel/laravel-validated-dto

View on GitHub →
Validated DTO for Laravel

Validated DTO for Laravel

Data Transfer Objects with validation for Laravel applications

Packagist PHP from Packagist Laravel Version GitHub Workflow Status (main)

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.

Documentation

Installation

composer require wendelladriel/laravel-validated-dto

Credits

Contributing

Check the Contributing Guide.

Wendelladriel Laravel Validated Dto Related Articles

Boost your Eloquent Models with Laravel Lift image

Boost your Eloquent Models with Laravel Lift

Read article
Validated DTO Package for Laravel image

Validated DTO Package for Laravel

Read article
Data Transfer Object V3 Modernizes DTOs With PHP 8 Features image

Data Transfer Object V3 Modernizes DTOs With PHP 8 Features

Read article
Argonaut DTO Package for Laravel image

Argonaut DTO Package for Laravel

Read article
Building your own Laravel Packages image

Building your own Laravel Packages

Read article
Making Laravel MongoDB Operations Idempotent: Safe Retries for Financial Transactions image

Making Laravel MongoDB Operations Idempotent: Safe Retries for Financial Transactions

Read article

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum