Download the PHP package befuture/api-response without Composer
On this page you can find all versions of the php package befuture/api-response. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download befuture/api-response
More information about befuture/api-response
Files in befuture/api-response
Download befuture/api-response
More information about befuture/api-response
Files in befuture/api-response
Vendor befuture
Package api-response
Short Description Standardized JSON API response helper for Laravel & PHP.
License MIT
Package api-response
Short Description Standardized JSON API response helper for Laravel & PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package api-response
befuture/api-response
A lightweight and standardized API JSON response package for Laravel and standalone PHP projects.
Features
- Unified JSON response structure for success and error cases
- HTTP status code / internal code / message / data / meta fields
- Auto-discovery support for Laravel
- Standalone PHP usage via factory class
- Fully tested with PHPUnit
- GitHub Actions CI workflow included
Example JSON Structure
Installation
If the package is not published on Packagist yet, you may load it via VCS repository inside your composer.json.
Laravel Integration
The package supports Laravel auto-discovery.
If you prefer manual registration:
Optional Facade:
Usage
Framework-Independent Usage
Running Tests
License
This project is licensed under the MIT License.
See LICENSE for details.
All versions of api-response with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package befuture/api-response contains the following files
Loading the files please wait ...