# Simple Usage

{% embed url="https://github.com/waadmawlood/laravel-model-metadata" %}
Metadata in Github
{% endembed %}

The metadata package have two traits `HasOneMetadata` and `HasManyMetadata` .

Example `HasOneMetadata` read usage with an explain [markdown](markdown "mention")

<figure><img src="https://3123136185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEeLSbzVVknCNZWxtnM5r%2Fuploads%2FQuuWn3fpK1oBr5BuRvdc%2Fcarbon.png?alt=media&#x26;token=50d48bf9-1587-4929-87cd-362b9d1ca113" alt=""><figcaption></figcaption></figure>

***



Example `HasManyMetadata`

<figure><img src="https://3123136185-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEeLSbzVVknCNZWxtnM5r%2Fuploads%2Ft4ba7EKrBhr9RqL5ov4x%2Fcarbon%20(1).png?alt=media&#x26;token=cdde72a3-fd33-4db9-b3df-af021bbd5d59" alt=""><figcaption></figcaption></figure>
