Skip to content

hbg-php/laravel-dto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Version on Packagist Total Downloads PHP Version License Tests

Laravel DTO

A simple and extensible package for creating and handling Data Transfer Objects (DTOs) in Laravel applications.

Features

  • Create DTOs from arrays or Laravel Requests
  • Optional validation with rules defined inside the DTO class
  • Convert DTOs to array or JSON
  • Support for typed and immutable properties (PHP 8.1+)

Installation

In a Laravel project:

composer require hugomatheuss/laravel-dto

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages