Search by

burxon / api-response-dto

Saidburxontoxirov

A simple DTO class for consistent API responses in Laravel

v1.0.0 2025-04-09 12:55 UTC

This package is auto-updated.

Last update: 2026-10-01 15:41:59 UTC


README

A simple Laravel-compatible DTO (Data Transfer Object) to standardize and simplify JSON API responses.

Installation

To set up the Composer package, run the following commands:

composer require burxon/api-response-dto

Creating a new Custom ApiResponseDTO

<?php
php artisan make:api-response-dto YourCustomResponseDTOName