PHPackages                             ali-eltaweel/attr-action - 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. ali-eltaweel/attr-action

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

ali-eltaweel/attr-action
========================

PHP attributes extraction

1.0.0(11mo ago)01726PHPPHP ^8.1

Since Jun 15Pushed 11mo agoCompare

[ Source](https://github.com/ali-eltaweel/attr-action)[ Packagist](https://packagist.org/packages/ali-eltaweel/attr-action)[ RSS](/packages/ali-eltaweel-attr-action/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (6)

Attr-action
===========

[](#attr-action)

**PHP Attributes Extraction.**

- [Attr-action](#attr-action)
    - [Installation](#installation)
    - [Usage](#usage)

---

Installation
------------

[](#installation)

Install *attr-action* via Composer:

```
composer require ali-eltaweel/attr-action
```

Usage
-----

[](#usage)

```
use Attraction\Annotation;

#[Attribute]
class Mark extends Annotation {}

#[Attribute(Attribute::TARGET_CLASS|Attribute::IS_REPEATABLE)]
class RepeatableMark extends Annotation {}
```

```
#[Mark]
class Target {}

#[RepeatableMark]
#[RepeatableMark]
class AnotherTarget {}
```

```
/** @var Mark */
$mark = Mark::annotatedOn(new ReflectionClass(Target::class));

/** @var RepeatableMark[] */
$marks = RepeatableMark::annotatedOn(new ReflectionClass(AnotherTarget::class));
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance52

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

338d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7564e10ba11b25d8700726a92f669e38be2ff9191e8f6ccdfafc36678ffab2b8?d=identicon)[ali-eltaweel](/maintainers/ali-eltaweel)

---

Top Contributors

[![ali-eltaweel](https://avatars.githubusercontent.com/u/45892756?v=4)](https://github.com/ali-eltaweel "ali-eltaweel (2 commits)")

### Embed Badge

![Health badge](/badges/ali-eltaweel-attr-action/health.svg)

```
[![Health](https://phpackages.com/badges/ali-eltaweel-attr-action/health.svg)](https://phpackages.com/packages/ali-eltaweel-attr-action)
```

###  Alternatives

[andrejsstepanovs/business-days-calculator

Business day calculation

2361.9k](/packages/andrejsstepanovs-business-days-calculator)

PHPackages © 2026

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