Download the PHP package barrydit/json-response without Composer
On this page you can find all versions of the php package barrydit/json-response. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download barrydit/json-response
More information about barrydit/json-response
Files in barrydit/json-response
Download barrydit/json-response
More information about barrydit/json-response
Files in barrydit/json-response
Vendor barrydit
Package json-response
Short Description A simple class that returns a properly formatted json response with HTTP status
License MIT
Package json-response
Short Description A simple class that returns a properly formatted json response with HTTP status
License MIT
Please rate this library. Is it a good library?
Informations about the package json-response
json-response
A simple class that returns a properly formatted json response with HTTP status
Installation
composer require barrydit/json-response
Usage
Param 1 (Required)
- success or ok - 200 http status
- unauthorized - 401 http status
- exception - 500 http status (internal server error)
Param 2 (Optional)
string - the return message, use empty quote if not available
Param 2 (Optional)
Array - Array of data
All versions of json-response with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package barrydit/json-response contains the following files
Loading the files please wait ....