PHPackages                             liushoukun/dawn-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. liushoukun/dawn-api

ActiveLibrary[API Development](/categories/api)

liushoukun/dawn-api
===================

A RESTful API package

v2.0.0(8y ago)273.2k7Apache-2.0PHP

Since Mar 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/liushoukun/dawn-api)[ Packagist](https://packagist.org/packages/liushoukun/dawn-api)[ RSS](/packages/liushoukun-dawn-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Dawn-Api
========

[](#dawn-api)

[![Latest Stable Version](https://camo.githubusercontent.com/73837d1967171be5e14fc1fa01551bd6609fc3b4c2d13a6ddfc80076fa308a3f/68747470733a2f2f706f7365722e707567782e6f72672f6c697573686f756b756e2f6461776e2d6170692f762f737461626c65)](https://packagist.org/packages/liushoukun/dawn-api)[![Total Downloads](https://camo.githubusercontent.com/13c94f31a3cbecc7e07c218369a7a17f1a764bd9fa18f2a167d65daca4e79def/68747470733a2f2f706f7365722e707567782e6f72672f6c697573686f756b756e2f6461776e2d6170692f646f776e6c6f616473)](https://packagist.org/packages/liushoukun/dawn-api)[![Latest Unstable Version](https://camo.githubusercontent.com/e73adc07553185408361c3d004ac4df5a1a6fb123cc9ec7d86d8a7695244e5bf/68747470733a2f2f706f7365722e707567782e6f72672f6c697573686f756b756e2f6461776e2d6170692f762f756e737461626c65)](https://packagist.org/packages/liushoukun/dawn-api)[![License](https://camo.githubusercontent.com/f40db11df761d3164c5d1275b6d2c44adbdadec498304cdee84458456055d4c1/68747470733a2f2f706f7365722e707567782e6f72672f6c697573686f756b756e2f6461776e2d6170692f6c6963656e7365)](https://packagist.org/packages/liushoukun/dawn-api)[![Monthly Downloads](https://camo.githubusercontent.com/71a22a162c5fcc4d04556fa823a3e2a9751d98211a2f229735acb77a93fad6c5/68747470733a2f2f706f7365722e707567782e6f72672f6c697573686f756b756e2f6461776e2d6170692f642f6d6f6e74686c79)](https://packagist.org/packages/liushoukun/dawn-api)

说明
--

[](#说明)

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 &amp; 文档
-------------

[](#dome--文档)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~206 days

Total

2

Last Release

3176d ago

Major Versions

v1.0.0 → v2.0.02017-10-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/aaaa10537dd96827181cb5ff0c4df6078f48054457d9ebaebe0b230829482843?d=identicon)[liushoukun](/maintainers/liushoukun)

---

Top Contributors

[![liushoukun](https://avatars.githubusercontent.com/u/26298472?v=4)](https://github.com/liushoukun "liushoukun (7 commits)")

---

Tags

apidocumentrestful-apithinkphp5wiki

### Embed Badge

![Health badge](/badges/liushoukun-dawn-api/health.svg)

```
[![Health](https://phpackages.com/badges/liushoukun-dawn-api/health.svg)](https://phpackages.com/packages/liushoukun-dawn-api)
```

###  Alternatives

[naixiaoxin/think-wechat

EasyWechat For Thnkphp5.1+

26616.1k1](/packages/naixiaoxin-think-wechat)[gatsbyjs/wp-gatsby

Optimize your WordPress site as a source for Gatsby site(s)

16813.7k](/packages/gatsbyjs-wp-gatsby)[weiwei/api-doc

The ThinkPHP6 Api Doc Package

10010.3k](/packages/weiwei-api-doc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
