PHPackages                             tsmsogn/attribute - 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. tsmsogn/attribute

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

tsmsogn/attribute
=================

0.0.1(7y ago)07MITPHP

Since Feb 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tsmsogn/attribute)[ Packagist](https://packagist.org/packages/tsmsogn/attribute)[ RSS](/packages/tsmsogn-attribute/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Attribute [![Build Status](https://camo.githubusercontent.com/950479c20fd752d1f137e5372cc9c9d3a32acf81f2b7707f729127c86e8bf834/68747470733a2f2f7472617669732d63692e6f72672f74736d736f676e2f6174747269627574652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tsmsogn/attribute) [![codecov](https://camo.githubusercontent.com/f90aa49314bfa5c4289c83537f6e87d7545093e4567d9a315537d020b8b6d53a/68747470733a2f2f636f6465636f762e696f2f67682f74736d736f676e2f6174747269627574652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/tsmsogn/attribute) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/75424a3984e04cce19320cef1e8e1bdeb9f589d62a984f29a874ab0abe3b7c31/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74736d736f676e2f6174747269627574652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tsmsogn/attribute/?branch=master)
=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#attribute---)

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

[](#requirements)

- PHP 5.4 or later

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

[](#installation)

```
composer require tsmsogn/attribute
```

Usage
-----

[](#usage)

### Make a class attribute:

[](#make-a-class-attribute)

Use the `Attributable` and implement the `AttributeInterface` on your class:

```
