PHPackages                             wangyu/tp-anntation - 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. wangyu/tp-anntation

ActiveLibrary

wangyu/tp-anntation
===================

ThinkPHP5 的简易注解扩展，含注解路由（支持路由分组），注解参数验证（支持验证器和参数验证），注解Api文档生成等功能, 依赖`wangyu/tp-anntation`的框架\[`TRR`\](https://github.com/china-wangyu/TRR)

0.2.2(6y ago)2151MITPHPPHP &gt;=7.1.0

Since Aug 8Pushed 6y agoCompare

[ Source](https://github.com/china-wangyu/tp-anntation)[ Packagist](https://packagist.org/packages/wangyu/tp-anntation)[ RSS](/packages/wangyu-tp-anntation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

tp-anntation
============

[](#tp-anntation)

简介
--

[](#简介)

ThinkPHP5 的简易注解扩展，含注解路由（支持路由分组），注解参数验证（支持验证器和参数验证），注解Api文档生成等功能

安装
--

[](#安装)

```
composer require wangyu/tp-anntation
```

使用
--

[](#使用)

详情请见：[TRR 框架使用说明](https://github.com/china-wangyu/TRR)

联系作者
----

[](#联系作者)

读者对本教程或者GitHub项目有任何疑问、建议都可以在作者GitHub仓库提个[issues](https://github.com/china-wangyu/tp-anntation/issues/)

或

加【TRR 官方群】QQ群: `860613750`

版权信息
----

[](#版权信息)

遵循 MIT 开源协议发布，并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有Copyright © 2006-2019 by TRR

All rights reserved。

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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 ~10 days

Total

7

Last Release

2405d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a848ecfc636b5cae37b9f830a2caa3f8fa9cbda3b5bc0237203f5bd9296b533d?d=identicon)[china-wangyu](/maintainers/china-wangyu)

---

Top Contributors

[![china-wangyu](https://avatars.githubusercontent.com/u/31000104?v=4)](https://github.com/china-wangyu "china-wangyu (4 commits)")

### Embed Badge

![Health badge](/badges/wangyu-tp-anntation/health.svg)

```
[![Health](https://phpackages.com/badges/wangyu-tp-anntation/health.svg)](https://phpackages.com/packages/wangyu-tp-anntation)
```

PHPackages © 2026

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