---
description: We will use version 2 of laravel-model-metadata library
---

# Installation

1.  Install the package using Composer:

    ```bash
    composer require waad/laravel-model-metadata
    ```
2.  Publish the migration files:

    ```bash
    php artisan vendor:publish --tag=metadata-migrations
    ```
3.  Run the migrations:

    ```bash
    php artisan migrate
    ```



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