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

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

mdzzohrabi/annotations
======================

Docblock Annotations Parser \[ Doctrine \]

v1.3.1(11y ago)033MITPHPPHP &gt;=5.3.2

Since Jan 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mdzzohrabi/annotations)[ Packagist](https://packagist.org/packages/mdzzohrabi/annotations)[ Docs](http://www.doctrine-project.org)[ RSS](/packages/mdzzohrabi-annotations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (12)Used By (0)

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

[](#doctrine-annotations)

[![Build Status](https://camo.githubusercontent.com/dadc29fc2c77ac6658493270ba7dc5bbe51c1d2be51fa04d37bcade55dfe29c7/68747470733a2f2f7472617669732d63692e6f72672f646f637472696e652f616e6e6f746174696f6e732e706e673f6272616e63683d6d6173746572)](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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

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

Recently: every ~65 days

Total

9

Last Release

4073d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1908730?v=4)[Masoud Zohrabi](/maintainers/mdzzohrabi)[@mdzzohrabi](https://github.com/mdzzohrabi)

---

Top Contributors

[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (148 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (81 commits)")[![FabioBatSilva](https://avatars.githubusercontent.com/u/588172?v=4)](https://github.com/FabioBatSilva "FabioBatSilva (78 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 (46 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (37 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)")[![mdzzohrabi](https://avatars.githubusercontent.com/u/1908730?v=4)](https://github.com/mdzzohrabi "mdzzohrabi (6 commits)")[![hobodave](https://avatars.githubusercontent.com/u/12404?v=4)](https://github.com/hobodave "hobodave (6 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)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (2 commits)")[![fruit](https://avatars.githubusercontent.com/u/62828?v=4)](https://github.com/fruit "fruit (2 commits)")

---

Tags

parserannotationsdocblock

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/mdzzohrabi-annotations/health.svg)](https://phpackages.com/packages/mdzzohrabi-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)[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)[creof/geo-parser

Parser for geography coordinate strings

624.4M15](/packages/creof-geo-parser)[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)
