exitdump/laravel-api-response

A Laravel package for standardized API JSON response formatting

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/exitdump/laravel-api-response

v1.0.1 2025-04-09 09:23 UTC

This package is auto-updated.

Last update: 2025-12-14 19:23:08 UTC


README

✨ A lightweight Laravel package to standardize your API JSON responses. Easily return consistent formats for success, error, and validation feedback across your application.

🚀 Features

  • ✅ Standard JSON structure for success responses
  • ❌ Clean error responses with optional messages and status codes
  • ⚠️ Easy validation error formatting
  • ⚙️ Configurable structure and keys
  • 📦 Simple installation and ready-to-use

Installation

composer require exitdump/laravel-api-response