library jsend
JSend for laravel
thunderid/jsend
JSend for laravel
- Thursday, July 23, 2015
- by erickmo
- Repository
- 1 Watchers
- 0 Stars
- 23 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 10 % Grown
Overview
This package is to help creating Json API Response. It follows the JSend standards (if you are not familiar with jsend, please refer to http://labs.omniti.com/labs/jsend), (*1)
Installation
Add this code to composer.json:, (*2)
"thunderid/jsend": "dev-master"
and run, (*3)
composer update
Usage
$jsend = new \ThunderID\jsend\jsend($status = "success|error|fail", $array);
echo $jsend->toJson();
dev-master
9999999-dev
JSend for laravel
Sources
Download
MIT
The Requires
by
erickmo