PHPackages                             topthink/think-annotation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. topthink/think-annotation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

topthink/think-annotation
=========================

Annotation For ThinkPHP

v3.0.0(1y ago)4831.5k—0%25[5 issues](https://github.com/top-think/think-annotation/issues)[1 PRs](https://github.com/top-think/think-annotation/pulls)8Apache-2.0PHP

Since Jun 24Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/top-think/think-annotation)[ Packagist](https://packagist.org/packages/topthink/think-annotation)[ RSS](/packages/topthink-think-annotation/feed)WikiDiscussions 3.0 Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (15)Used By (8)

think-annotation for ThinkPHP
=============================

[](#think-annotation-for-thinkphp)

安装
--

[](#安装)

> composer require topthink/think-annotation

配置
--

[](#配置)

> 配置文件位于 `config/annotation.php`

使用方法
----

[](#使用方法)

### 路由注解

[](#路由注解)

```
