PHPackages                             rustamwin/attributes - 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. rustamwin/attributes

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

rustamwin/attributes
====================

attributes

1364[1 issues](https://github.com/rustamwin/attributes/issues)[3 PRs](https://github.com/rustamwin/attributes/pulls)PHP

Since May 7Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (4)Used By (0)

PHP Attributes
==============

[](#php-attributes)

[![Latest Stable Version](https://camo.githubusercontent.com/56394307dbe5e6bde1552154f15c4cc3759c8964a8d53091d33cf1f32ebf1871/68747470733a2f2f706f7365722e707567782e6f72672f72757374616d77696e2f617474726962757465732f762f737461626c652e706e67)](https://packagist.org/packages/rustamwin/attributes)[![Total Downloads](https://camo.githubusercontent.com/9ddb3541840995789fc09e43dbb821c6c2022ea1ea02c7fa25ad3bab3fde0b00/68747470733a2f2f706f7365722e707567782e6f72672f72757374616d77696e2f617474726962757465732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/rustamwin/attributes)[![Build status](https://github.com/rustamwin/attributes/workflows/build/badge.svg)](https://github.com/rustamwin/attributes/actions?query=workflow%3Abuild)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/101269ea07f7b82fc393fe818f810de383d7810196724d7de2a6a8526ef52cb6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72757374616d77696e2f617474726962757465732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rustamwin/attributes/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/ee3d22137a5863e698da37332fe4a54972873f67ac65d83f21b54ae920883b24/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72757374616d77696e2f617474726962757465732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rustamwin/attributes/?branch=master)[![Mutation testing badge](https://camo.githubusercontent.com/f71952c2181280d25f2dfd5e448cf3a310ca33a80047be811b85778a51752166/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324672757374616d77696e253246617474726962757465732532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/rustamwin/attributes/master)[![static analysis](https://github.com/rustamwin/attributes/workflows/static%20analysis/badge.svg)](https://github.com/rustamwin/attributes/actions?query=workflow%3A%22static+analysis%22)

Requirements
------------

[](#requirements)

- PHP 8.0 or higher.

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

[](#installation)

The package could be installed with composer:

```
composer require rustamwin/attributes --prefer-dist

```

General usage
-------------

[](#general-usage)

### Unit testing

[](#unit-testing)

The package is tested with [PHPUnit](https://phpunit.de/). To run tests:

```
./vendor/bin/phpunit
```

### Mutation testing

[](#mutation-testing)

The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it:

```
./vendor/bin/roave-infection-static-analysis-plugin
```

### Static analysis

[](#static-analysis)

The code is statically analyzed with [Psalm](https://psalm.dev/). To run static analysis:

```
./vendor/bin/psalm
```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance6

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6df37eedfd8233de51e178fd857e54fe816ee7ffaad28cea49736be83e00ed07?d=identicon)[rustamwin](/maintainers/rustamwin)

---

Top Contributors

[![rustamwin](https://avatars.githubusercontent.com/u/16498265?v=4)](https://github.com/rustamwin "rustamwin (30 commits)")

---

Tags

attributeshacktoberfestphp-attributesphp8

### Embed Badge

![Health badge](/badges/rustamwin-attributes/health.svg)

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

PHPackages © 2026

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