PHPackages                             neon/attributable - 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. neon/attributable

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

neon/attributable
=================

1.0.2(3y ago)06226MITPHPPHP &gt;=8.0

Since Sep 8Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/elementary-interactive/neon-attributable)[ Packagist](https://packagist.org/packages/neon/attributable)[ RSS](/packages/neon-attributable/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (2)Versions (24)Used By (6)

NEON — Attributable
===================

[](#neon--attributable)

Handles advanced attibutes related to any kind of models. The reason of this solution is the Neon CMS' best practice: If customer needs an option, like "show this e-mail on the company's page", we can add that e-mail, like an attribute via the admin UI and just handle the variable on template, and then, no programers needed to show anything on the given page.

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

[](#requirements)

- `"neon/model-uuid": "^1.0"`

Install
-------

[](#install)

Easily install the composer package:

```
composer require neon/attributable

```

Then you should install database migrations by:

```
php artisan vendor:publish --provider=\"Neon\\Attributable\\NeonAttributableServiceProvider\"
```

Usage
-----

[](#usage)

Just use the Trait like othes traits. Don't forget to use the `neon/model-uuid` trait too:

```
