1 Star 1 Fork 4

大傻鸭 / dawn-api

forked from liushoukun / dawn-api 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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

空文件

简介

thinkphp5编写的restful风格的API,集API请求处理,权限认证,自动生成文档等功能 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/xcorp/dawn-api.git
git@gitee.com:xcorp/dawn-api.git
xcorp
dawn-api
dawn-api
master

搜索帮助

14c37bed 8189591 565d56ea 8189591