thunderid/jsend
Composer 安装命令:
composer require thunderid/jsend
包简介
JSend for laravel
README 文档
README
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)
Installation
Add this code to composer.json:
"thunderid/jsend": "dev-master"
and run
composer update
Usage
$jsend = new \ThunderID\jsend\jsend($status = "success|error|fail", $array); echo $jsend->toJson();
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-01