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

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

brenoroosevelt/php-attributes
=============================

Easy way to handle PHP Attributes

1.0.0(4y ago)123↑2900%MITPHPPHP ^8

Since Aug 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/brenoroosevelt/php-attributes)[ Packagist](https://packagist.org/packages/brenoroosevelt/php-attributes)[ Docs](http://github.com/brenoroosevelt/php-attributes)[ RSS](/packages/brenoroosevelt-php-attributes/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

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

[](#php-attributes)

[![Build](https://github.com/brenoroosevelt/php-attributes/actions/workflows/ci.yml/badge.svg)](https://github.com/brenoroosevelt/php-attributes/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/ecc7edd595b7889f82d845c93d172e67c80b59b76a4f90be66c5d57e0153e1ee/68747470733a2f2f636f6465636f762e696f2f67682f6272656e6f726f6f736576656c742f7068702d617474726962757465732f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d53315142413138494258)](https://codecov.io/gh/brenoroosevelt/php-attributes)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/caafcb958b56beb317b29aeee4302c62730d91318efcee7942e53d87a863f709/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6272656e6f726f6f736576656c742f7068702d617474726962757465732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/brenoroosevelt/php-attributes/?branch=main)[![Latest Version](https://camo.githubusercontent.com/3a7e41e6fda08e570c132813b817f4d58bd90cb85a34275764eaabbbf51231c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6272656e6f726f6f736576656c742f7068702d617474726962757465732e7376673f7374796c653d666c6174)](https://github.com/brenoroosevelt/php-attributes/releases)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)

Easy way to extract and handle PHP Attributes.

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

[](#requirements)

- PHP &gt;= 8.1

Install
-------

[](#install)

```
composer require brenoroosevelt/php-attributes
```

Usage
-----

[](#usage)

Instead of doing like this:

```
