PHPackages                             zeptech/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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. zeptech/annotations

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

zeptech/annotations
===================

DOC Block annotation parsing for PHP

1.2.0(4y ago)66663.7k↓14.3%617BSD-3-ClausePHPPHP &gt;=5.3.0

Since Mar 4Pushed 4y ago4 watchersCompare

[ Source](https://github.com/pgraham/php-annotations)[ Packagist](https://packagist.org/packages/zeptech/annotations)[ Docs](https://github.com/pgraham/php-annotations)[ RSS](/packages/zeptech-annotations/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (4)Used By (17)

PHP Annotations
===============

[](#php-annotations)

This library provides parsing for annotations defined in class, method and member doc comments. Annotations are made available as an object with array access capabilities.

Install
-------

[](#install)

Install via [Composer](http://getcomposer.org)

```
{
    "require": {
        "zeptech/annotations": "1.2.0"
    }
}

```

Instantiation
-------------

[](#instantiation)

To instantiate simply pass a SPL Reflector instance with the `getDocComment()`method to the Annotations constructor.

```
