PHPackages                             phppkg/annotations - 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. phppkg/annotations

ActiveLibrary

phppkg/annotations
==================

Simple and Lightweight PHP Class &amp; Methods Annotations Reader

v1.0.0(4y ago)3361↓100%MITPHPPHP &gt;7.1.0CI failing

Since Sep 27Pushed 1y ago2 watchersCompare

[ Source](https://github.com/phppkg/annotations)[ Packagist](https://packagist.org/packages/phppkg/annotations)[ Docs](https://github.com/phppkg/annotations)[ RSS](/packages/phppkg-annotations/feed)WikiDiscussions master Synced today

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

README
======

[](#readme)

[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/cd602c4ac56f45b308efda8a532069d18fd4b73a7c3f9b09bc823003acf32795/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f706870706b672f616e6e6f746174696f6e73)](https://github.com/phppkg/annotations)[![Github Actions Status](https://github.com/phppkg/annotations/workflows/Unit-tests/badge.svg)](https://github.com/phppkg/annotations/actions)[![Php Version](https://camo.githubusercontent.com/fc33a45da3a903be19ab5b5c6b9b01081b61e96107fa5f81f3bf325896bc4252/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345372e312e302d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/phppkg/annotations)

Simple and Lightweight PHP Class &amp; Methods Annotations Reader

> Forked from [eriknyk/Annotations](https://github.com/eriknyk/Annotations)

项目地址
----

[](#项目地址)

- **github**

安装
--

[](#安装)

- composer 命令

```
composer require phppkg/annotations
```

- composer.json

```
{
    "require": {
        "phppkg/annotations": "dev-master"
    }
}
```

- 直接拉取

```
git clone https://github.com/phppkg/annotations.git // github
```

使用
--

[](#使用)

Sample class User.php

```
