2017 © Pedro Peláez
 

library dawn-api

A RESTful API package

image

liushoukun/dawn-api

A RESTful API package

  • Thursday, October 19, 2017
  • by liushoukun
  • Repository
  • 1 Watchers
  • 20 Stars
  • 1,702 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 14 % Grown

The README.md

Dawn-Api

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads, (*1)

说明

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

  • restful风格处理请求, (*3)

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

  • 权限认证, (*5)

    Basic,Oauth Client Credentials Grant, (*6)

  • 文档生成, (*7)

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

安装

  • 如果想在你的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, (*9)

The Versions

19/10 2017

dev-master

9999999-dev

A RESTful API package

  Sources   Download

Apache-2.0

The Requires

 

by Avatar liushoukun

19/10 2017

v2.0.0

2.0.0.0

A RESTful API package

  Sources   Download

Apache-2.0

The Requires

 

by Avatar liushoukun

26/09 2017

dev-dev

dev-dev

A RESTful API package

  Sources   Download

Apache-2.0

The Requires

 

by Avatar liushoukun

27/03 2017

v1.0.0

1.0.0.0

A RESTful API package

  Sources   Download

Apache-2.0

The Requires

 

by Avatar liushoukun