PHPackages                             soeurngsar/menubuilder - 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. soeurngsar/menubuilder

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

soeurngsar/menubuilder
======================

drag and drop menu generator like wordpress for laravel backpack

v1.2(3y ago)71114[3 issues](https://github.com/soeurngsar/menubuilder/issues)JavaScriptPHP ^7.3

Since Nov 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/soeurngsar/menubuilder)[ Packagist](https://packagist.org/packages/soeurngsar/menubuilder)[ RSS](/packages/soeurngsar-menubuilder/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Laravel Drag and Drop menu editor like wordpress
================================================

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

forked from [![Laravel drag and drop menu for backpack](screenshot/menubuilder.png?raw=true)](screenshot/menubuilder.png?raw=true)

### Note

[](#note)

**This package is work perfectly with Backpack and require minimum version of 4.0**

### Installation

[](#installation)

1. Run

```
composer require soeurngsar/menubuilder
```

2. Run publish assets

```
php artisan vendor:publish --provider="SoeurngSar\MenuBuilder\MenuServiceProvider"
```

3. 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

4. Run migrate

```
php artisan migrate
```

DONE

### Usage Example

[](#usage-example)

On your view blade file for admin

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

On your view blade file for frontend

```
@section('contents')
    {!! Menu::renderBootstrapNav('Brand Text','menu name','navbar-default') !!}
@endsection
```

### Get Menu Items By Menu ID

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

```
use SoeurngSar\MenuBuilder\app\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 *Primary*

```
use SoeurngSar\MenuBuilder\app\Facades\Menu;
...
/*
Parameter: Menu ID
Return: Array
*/
$menuList = Menu::getByName('Primary');
```

### Using The Model

[](#using-the-model)

Call the model class

```
use SoeurngSar\MenuBuilder\app\Models\Menus;
use SoeurngSar\MenuBuilder\app\Models\MenuItems;
```

### Credits

[](#credits)

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

### Compatibility

[](#compatibility)

- Tested with laravel 8.0 with Backpack version 4.0

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~886 days

Total

3

Last Release

1318d ago

PHP version history (2 changes)1.0PHP &gt;=5.4.0

v1.2PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/389866c4238b8fe40c94e1928eee4fe0d43df6ce7b93c2775bc691fab4d84885?d=identicon)[soeurngsar](/maintainers/soeurngsar)

---

Top Contributors

[![ShamarKellman](https://avatars.githubusercontent.com/u/4120411?v=4)](https://github.com/ShamarKellman "ShamarKellman (3 commits)")[![soeurngsar](https://avatars.githubusercontent.com/u/10471579?v=4)](https://github.com/soeurngsar "soeurngsar (3 commits)")[![sar-sa-dev](https://avatars.githubusercontent.com/u/239699683?v=4)](https://github.com/sar-sa-dev "sar-sa-dev (2 commits)")

---

Tags

laravelbuildermenudrag-dropbackpack

### Embed Badge

![Health badge](/badges/soeurngsar-menubuilder/health.svg)

```
[![Health](https://phpackages.com/badges/soeurngsar-menubuilder/health.svg)](https://phpackages.com/packages/soeurngsar-menubuilder)
```

###  Alternatives

[outl1ne/nova-menu-builder

This Laravel Nova package allows you to create and manage menus and menu items.

243246.0k3](/packages/outl1ne-nova-menu-builder)[backpack/theme-tabler

UI for Backpack v6 that uses Tabler and Bootstrap v5.

35536.5k](/packages/backpack-theme-tabler)[infinety-es/nova-menu-builder

Menu Builder Tool for Laravel Nova.

6514.8k](/packages/infinety-es-nova-menu-builder)[nguyendachuy/laravel-menu

Laravel Menu Builder | Drag &amp; Drop | Bootstrap | Laravel 7 | Laravel 8 | Laravel 9 | Laravel 10 | Laravel 11 | Laravel 12

162.2k](/packages/nguyendachuy-laravel-menu)

PHPackages © 2026

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