PHPackages                             gephart/annotation - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gephart/annotation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gephart/annotation
==================

Gephart Annotation Component

0.5.1(2y ago)06784MITPHPPHP &gt;=7.1

Since Feb 6Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (12)Used By (4)

Gephart Annotation
==================

[](#gephart-annotation)

[![php](https://github.com/gephart/annotation/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/gephart/annotation/actions)

Dependencies
------------

[](#dependencies)

- PHP &gt;= 7.4

Instalation
-----------

[](#instalation)

```
composer require gephart/annotation
```

Using
-----

[](#using)

@AnnotationName value @AnnotationName {"or anything":"in JSON"}

```
/**
 * @Route /home/
 */
class SuperClass
{
    /**
     * @Template {
     *     "url": "index.html"
     * }
     */
    public function index()
    {
    }
}

$reader = new \Gephart\Annotation\Reader();
$annotation = $reader->get("Route", SuperClass::class);
// /home/

$annotation = $reader->get("Template", SuperClass::class, "index);
// ["url"=>"index.html"]
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~268 days

Recently: every ~656 days

Total

11

Last Release

748d ago

PHP version history (2 changes)0.1PHP &gt;=7.0

0.4.1PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1405383?v=4)[Michal Katuščák](/maintainers/MichalKatuscak)[@MichalKatuscak](https://github.com/MichalKatuscak)

---

Top Contributors

[![MichalKatuscak](https://avatars.githubusercontent.com/u/1405383?v=4)](https://github.com/MichalKatuscak "MichalKatuscak (27 commits)")

---

Tags

annotationsframeworkphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gephart-annotation/health.svg)

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

###  Alternatives

[kenepa/resource-lock

Filament Resource Lock is a Filament plugin that adds resource locking functionality to your site.

98109.4k4](/packages/kenepa-resource-lock)[ccinn/husky-php

Similar to js-husky client git hook implementation

6627.3k1](/packages/ccinn-husky-php)[pwm/s-flow

A lightweight library for defining state machines

742.5k](/packages/pwm-s-flow)[napp/nova-bugsnag

A Laravel Nova card.

1234.4k](/packages/napp-nova-bugsnag)

PHPackages © 2026

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