alsofronie/lumen-api
Composer 安装命令:
composer create-project alsofronie/lumen-api
包简介
Lumen API Scaffolding Project (Based on Laravel Lumen Framework
README 文档
README
A scaffolding for Lumen Based API, featuring:
- uri based version (with prefix
/api/v1) - JSON Web Tokens authentication out of the box
- Models with binary Uuid Primary key (version 4)
- 100% Code Coverage for
/appdirectory (wish)
Features
Centralized API Exception
Although many will argue a centralized API Error codes approach, I found it
easier to manage in small / medium projects. So, everything the API
throws as an exception is dealt by the ApiException class, which has
all the internal API codes (maybe an HTML documentation for each code will
be nice) as static implementation.
The validation errors will be returned in the details component of the
error, with the name of the validation rule. (to be completed).
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-09