# Menus

<figure><img src="https://598543987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3nnlrjn6TtcCpL6SXFhI%2Fuploads%2FNTna3CkvbruBqGfxnpIV%2FScreenshot%202022-10-31%20at%201.54.03%20PM.png?alt=media&#x26;token=91839ed1-63aa-4e1e-b37d-d49c267e62f6" alt=""><figcaption></figcaption></figure>

we are building a plugin to manage menus with database, like sorting rename and delete menus.

### Install

You can install the package via composer:

```bash
composer require queents/menu-module
```

### Install Menus Plugin

Add Module to `modules_statuses.json` if not exists

```json
{
    "Menu": true
}
```

to install menus plugin by run this command

```bash
php artisan menu:install
```

it will generate roles and permissions for menus

and now clear cache

```bash
php artisan optimize:clear
```
