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

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

brandoriented/annotations
=========================

Docblock Annotations Parser

v2.0.2(8y ago)040MITPHPPHP &gt;=7.0.0

Since Jan 12Pushed 8y agoCompare

[ Source](https://github.com/BrandOriented/annotations)[ Packagist](https://packagist.org/packages/brandoriented/annotations)[ Docs](http://www.doctrine-project.org)[ RSS](/packages/brandoriented-annotations/feed)WikiDiscussions 2.0 Synced 2d ago

READMEChangelogDependencies (8)Versions (7)Used By (0)

Doctrine Annotations
====================

[](#doctrine-annotations)

[![Build Status](https://camo.githubusercontent.com/bd665d62171b4adc448b63b0516735d2de18d3d2dbff9ad6a6bd2f8ddcf682ad/68747470733a2f2f7472617669732d63692e6f72672f646f637472696e652f616e6e6f746174696f6e732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/doctrine/annotations)

Docblock Annotations Parser library (extracted from [Doctrine Common](https://github.com/doctrine/common)).

Changelog
---------

[](#changelog)

### v1.2.0

[](#v120)

- HHVM support
- Allowing dangling comma in annotations
- Excluded annotations are no longer autoloaded
- Importing namespaces also in traits
- Added support for `::class` 5.5-style constant, works also in 5.3 and 5.4

### v1.1

[](#v11)

- Add Exception when ZendOptimizer+ or Opcache is configured to drop comments

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~387 days

Total

6

Last Release

3256d ago

Major Versions

v1.1 → v2.0.1a2017-06-13

PHP version history (2 changes)v1.0PHP &gt;=5.3.2

v2.0.1aPHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/233d0b00251744484000748877ee4d8d47e00446fa86a8cf9155e6f4d6b7ef48?d=identicon)[Effiana](/maintainers/Effiana)

---

Top Contributors

[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (151 commits)")[![FabioBatSilva](https://avatars.githubusercontent.com/u/588172?v=4)](https://github.com/FabioBatSilva "FabioBatSilva (99 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (81 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (66 commits)")[![romanb](https://avatars.githubusercontent.com/u/177309?v=4)](https://github.com/romanb "romanb (62 commits)")[![guilhermeblanco](https://avatars.githubusercontent.com/u/208883?v=4)](https://github.com/guilhermeblanco "guilhermeblanco (47 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (38 commits)")[![chx](https://avatars.githubusercontent.com/u/193045?v=4)](https://github.com/chx "chx (25 commits)")[![gregberge](https://avatars.githubusercontent.com/u/266302?v=4)](https://github.com/gregberge "gregberge (9 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (7 commits)")[![hobodave](https://avatars.githubusercontent.com/u/12404?v=4)](https://github.com/hobodave "hobodave (6 commits)")[![labudzinski](https://avatars.githubusercontent.com/u/1152480?v=4)](https://github.com/labudzinski "labudzinski (5 commits)")[![mpalourdio](https://avatars.githubusercontent.com/u/5034671?v=4)](https://github.com/mpalourdio "mpalourdio (4 commits)")[![akkie](https://avatars.githubusercontent.com/u/307006?v=4)](https://github.com/akkie "akkie (4 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (4 commits)")[![JonathanO](https://avatars.githubusercontent.com/u/1206546?v=4)](https://github.com/JonathanO "JonathanO (3 commits)")[![Shurakai](https://avatars.githubusercontent.com/u/265444?v=4)](https://github.com/Shurakai "Shurakai (3 commits)")[![rdohms](https://avatars.githubusercontent.com/u/94331?v=4)](https://github.com/rdohms "rdohms (3 commits)")[![victorsmirnov](https://avatars.githubusercontent.com/u/223570?v=4)](https://github.com/victorsmirnov "victorsmirnov (2 commits)")[![fruit](https://avatars.githubusercontent.com/u/62828?v=4)](https://github.com/fruit "fruit (2 commits)")

---

Tags

parserannotationsdocblock

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/brandoriented-annotations/health.svg)

```
[![Health](https://phpackages.com/badges/brandoriented-annotations/health.svg)](https://phpackages.com/packages/brandoriented-annotations)
```

###  Alternatives

[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M118](/packages/doctrine-lexer)[nikic/php-parser

A PHP parser written in PHP

17.4k902.6M1.8k](/packages/nikic-php-parser)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[jan-swiecki/simple-annotations

Simple annotation parser

66615.0k18](/packages/jan-swiecki-simple-annotations)[phpowermove/docblock

PHP Docblock parser and generator. An API to read and write Docblocks.

2524.0M4](/packages/phpowermove-docblock)[dannykopping/docblock

A simple library for parsing PHP DocBlock comments

191.8k2](/packages/dannykopping-docblock)

PHPackages © 2026

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