strever/resp-code
Composer 安装命令:
composer require strever/resp-code
包简介
a naming conventions about response code
README 文档
README
a naming convention about response code
Installation
composer require strever/resp-code
Usage Docs
\Strever\Util\Resp::success(['id' => 1]); \Strever\Util\Resp::fail(404); \Strever\Util\Resp::notFound();
api list
- fail
- failWithJson
- notFound
- invalidParams
- success
- successWithJson ...
UnitTest
$ phpunit tests/Util/RespTest.php
Contact
Other Resources
Donate Me
License
MIT
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-22