PHPackages                             mindplay/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. [Framework](/categories/framework)
4. /
5. mindplay/annotations

ActiveLibrary[Framework](/categories/framework)

mindplay/annotations
====================

Industrial-strength annotations for PHP

1.3.4(2y ago)138169.7k—2.5%36[27 issues](https://github.com/php-annotations/php-annotations/issues)[3 PRs](https://github.com/php-annotations/php-annotations/pulls)14LGPL-3.0+PHPPHP &gt;=5.3.3

Since Aug 27Pushed 1y ago8 watchersCompare

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

READMEChangelog (8)Dependencies (2)Versions (10)Used By (14)

php-annotations
===============

[](#php-annotations)

[![Join the chat at https://gitter.im/php-annotations/php-annotations](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/php-annotations/php-annotations?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![CI](https://github.com/php-annotations/php-annotations/actions/workflows/tests.yml/badge.svg)](https://github.com/php-annotations/php-annotations/actions/workflows/tests.yml)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/3e8de475e5d1857872f7862a014184bde6d27587a23a7a793c3a3941fcd89373/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d616e6e6f746174696f6e732f7068702d616e6e6f746174696f6e732f6261646765732f7175616c6974792d73636f72652e706e673f733d34313632383539333635356461653337343063336136346631373234333834333065653236623834)](https://scrutinizer-ci.com/g/php-annotations/php-annotations/)[![codecov](https://camo.githubusercontent.com/c428530222fce0bbaac985fed6d5de73d93a43bff1b8293b6a93b96b4f16546f/68747470733a2f2f636f6465636f762e696f2f67682f7068702d616e6e6f746174696f6e732f7068702d616e6e6f746174696f6e732f67726170682f62616467652e7376673f746f6b656e3d69414235326449536f4f)](https://codecov.io/gh/php-annotations/php-annotations)

[![Latest Stable Version](https://camo.githubusercontent.com/6e69ce2032c3ce7357265bd9a1c1b21994aee9d1f39b62598c64c469453d658a/68747470733a2f2f706f7365722e707567782e6f72672f6d696e64706c61792f616e6e6f746174696f6e732f762f737461626c652e737667)](https://packagist.org/packages/mindplay/annotations) [![Total Downloads](https://camo.githubusercontent.com/322a30dc1b8ed3d413518698feb765d7a576500fa5f4e8537372e73c98700694/68747470733a2f2f706f7365722e707567782e6f72672f6d696e64706c61792f616e6e6f746174696f6e732f646f776e6c6f6164732e737667)](https://packagist.org/packages/mindplay/annotations) [![Latest Unstable Version](https://camo.githubusercontent.com/ff33ebe2558b257f0e410500ff3ade479c5a63fa9879ed03f733bafc0cba7427/68747470733a2f2f706f7365722e707567782e6f72672f6d696e64706c61792f616e6e6f746174696f6e732f762f756e737461626c652e737667)](https://packagist.org/packages/mindplay/annotations) [![License](https://camo.githubusercontent.com/c143b18f3dd89b906163c1014d655b17e876b06cd8ff917de9720b1518e1e56c/68747470733a2f2f706f7365722e707567782e6f72672f6d696e64706c61792f616e6e6f746174696f6e732f6c6963656e73652e737667)](https://packagist.org/packages/mindplay/annotations)

Source-code annotations for PHP.

Copyright (C) 2011-2015 Rasmus Schultz

For documentation and updates, please visit the project Wiki:

Project Structure
-----------------

[](#project-structure)

The files in this project are organized as follows:

```
php-annotations         This README and the LGPL license
  /src
    /annotations        The core of the library itself
      /standard         Standard library of annotation classes
  /demo                 Browser-based example/demonstration
  /docs                 Documentation files (http://php-annotations.readthedocs.org/en/latest/)
  /test                 Unit tests for the core of the library
    /test.php           Test suite runner
    /annotations        Fixture Annotation types
    /lib                Unit test library
    /runtime            Run-time cache folder used for tests
    /suite              Test cases

```

The "mindplay" folder is the only folder required for the annotation framework itself - other folders contain demonstration code, tests, etc.

To run the test suite, run "php-annotations/test/test.php" from a browser - a summary of the test-results will be displayed on the page.

Code Style
----------

[](#code-style)

Largely PSR-2 compliant:

License
-------

[](#license)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see .

Additional permission under GNU GPL version 3 section 7

If you modify this Program, or any covered work, by linking or combining it with php-annotations (or a modified version of that library), containing parts covered by the terms of the LGPL, the licensors of this Program grant you additional permission to convey the resulting work.

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 59.4% of commits — single point of failure

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

Recently: every ~731 days

Total

6

Last Release

867d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84e70d0bdeaa7cd5875b73c862ccd8359d2df057fb48a716fdd14d99a7f24fca?d=identicon)[aik099](/maintainers/aik099)

![](https://www.gravatar.com/avatar/9445f567f43ee7a963270651e40e533634586f959e4df3d5398d001b1cb49be8?d=identicon)[mindplay.dk](/maintainers/mindplay.dk)

---

Top Contributors

[![mindplay-dk](https://avatars.githubusercontent.com/u/103348?v=4)](https://github.com/mindplay-dk "mindplay-dk (98 commits)")[![aik099](https://avatars.githubusercontent.com/u/1277526?v=4)](https://github.com/aik099 "aik099 (21 commits)")[![jcheron](https://avatars.githubusercontent.com/u/2511052?v=4)](https://github.com/jcheron "jcheron (18 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (13 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (5 commits)")[![dimtrovich](https://avatars.githubusercontent.com/u/37987162?v=4)](https://github.com/dimtrovich "dimtrovich (3 commits)")[![benesch](https://avatars.githubusercontent.com/u/882976?v=4)](https://github.com/benesch "benesch (3 commits)")[![lsces](https://avatars.githubusercontent.com/u/305602?v=4)](https://github.com/lsces "lsces (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![evangelion1204](https://avatars.githubusercontent.com/u/685814?v=4)](https://github.com/evangelion1204 "evangelion1204 (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

annotationsphpframeworkannotations

### Embed Badge

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

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

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247616.4k1](/packages/hemp-presenter)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

681.0M18](/packages/pestphp-pest-plugin-stressless)[marwanalsoltany/mighty

The last validation library you will ever need!

591.3k](/packages/marwanalsoltany-mighty)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.2k5](/packages/wpstarter-framework)

PHPackages © 2026

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