6 Star 11 Fork 4

shook / dawn-api

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
readme.md

Dawn-Api

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads

说明

thinkphp5编写的restful风格的API,集API请求处理,权限认证,自动生成文档等功能;

  • restful风格处理请求

每个接口对于一个控制器,method对应[method]方法响应

  • 权限认证

Basic,Oauth Client Credentials Grant

  • 文档生成

简洁,优雅,不需要额外的文档工具;

安装

  • 如果想在你的TP5项目中使用,那么可以直接使用
composer require liushoukun/dawn-api
  • 如果是新项目先要创建tp5项目,然后再require
composer create-project topthink/think api  --prefer-dist
composer require liushoukun/dawn-api
  • 如果要使用生成文档 需要在public/static/ 下 安装hadmin
cd /public/static/
git clone  https://github.com/liushoukun/hadmin.git

dome & 文档

https://github.com/liushoukun/dawn-api-demo

Comments ( 2 )

Sign in for post a comment

About

thinkphp5编写的restful风格的API,集API请求处理,权限认证,自动生成文档等功能 spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/liushoukun/dawn-api.git
git@gitee.com:liushoukun/dawn-api.git
liushoukun
dawn-api
dawn-api
master

Search