PHPackages                             jarhen/codifire-menu - 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. jarhen/codifire-menu

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

jarhen/codifire-menu
====================

drag and drop menu generator like wordpress for laravel 5

033JavaScript

Since Jun 5Pushed 7y agoCompare

[ Source](https://github.com/jarhen/codifire-menu)[ Packagist](https://packagist.org/packages/jarhen/codifire-menu)[ RSS](/packages/jarhen-codifire-menu/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Drag and Drop menu editor
=================================

[](#laravel-drag-and-drop-menu-editor)

### Installation

[](#installation)

1. Run

```
composer require jarhen/codifire-menu
```

***Step 2 &amp; 3 are optional if you are using laravel 5.5***

2. Add the following class, to "providers" array in the file config/app.php (optional on laravel 5.5)

```
Jarhen\Menu\MenuServiceProvider::class,
```

3. add facade in the file config/app.php (optional on laravel 5.5)

```
'Menu' => Jarhen\Menu\Facades\Menu::class,
```

4. Run publish

```
php artisan vendor:publish --provider="Jarhen\Menu\MenuServiceProvider"
```

5. Configure (optional) in ***config/menu.php*** :

- ***CUSTOM MIDDLEWARE:*** You can add you own middleware
- ***TABLE PREFIX:*** By default this package will create 2 new tables named "menus" and "menu\_items" but you can still add your own table prefix avoiding conflict with existing table
- ***TABLE NAMES*** If you want use specific name of tables you have to modify that and the migrations
- ***Custom routes*** If you want to edit the route path you can edit the field

6. Run migrate

```
php artisan migrate
```

DONE

### Usage Example

[](#usage-example)

On your view blade file

```
@extends('app')

@section('contents')
    {!! Menu::render() !!}
@endsection

//YOU MUST HAVE JQUERY LOADED BEFORE menu scripts
@push('scripts')
    {!! Menu::scripts() !!}
@endpush
```

### Get Menu Items By Menu ID

[](#get-menu-items-by-menu-id)

```
use Jarhen\Menu\Facades\Menu;
...
/*
Parameter: Menu ID
Return: Array
*/
$menuList = Menu::get(1);
```

### Get Menu Items By Menu Name

[](#get-menu-items-by-menu-name)

In this example, you must have a menu named *Admin*

```
use Jarhen\Menu\Facades\Menu;
...
/*
Parameter: Menu ID
Return: Array
*/
$menuList = Menu::getByName('Admin');
```

### Using The Model

[](#using-the-model)

Call the model class

```
use Jarhen\Menu\Models\Menus;
use Jarhen\Menu\Models\MenuItems;
```

### Credits

[](#credits)

- [wmenu](https://github.com/lordmacu/wmenu) laravel package menu like wordpress

### Compability

[](#compability)

- Tested with laravel 5.2, 5.3, 5.4, 5.5, 5.6

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae9be339b48a8290a58bf5634fa2274b060d58c067125d25e0d89a9d9ce9aeb5?d=identicon)[jarhen](/maintainers/jarhen)

### Embed Badge

![Health badge](/badges/jarhen-codifire-menu/health.svg)

```
[![Health](https://phpackages.com/badges/jarhen-codifire-menu/health.svg)](https://phpackages.com/packages/jarhen-codifire-menu)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
