burxon/api-response-dto

A simple DTO class for consistent API responses in Laravel

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/burxon/api-response-dto

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

This package is auto-updated.

Last update: 2025-12-09 14:27:34 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