PHPackages                             plokko/menu-builder - 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. plokko/menu-builder

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

plokko/menu-builder
===================

Laravel menu builder

0.1.6(1y ago)04451[1 PRs](https://github.com/plokko/menu-builder/pulls)PHPPHP &gt;=7.2

Since Nov 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/plokko/menu-builder)[ Packagist](https://packagist.org/packages/plokko/menu-builder)[ RSS](/packages/plokko-menu-builder/feed)WikiDiscussions main Synced yesterday

READMEChangelog (7)DependenciesVersions (8)Used By (0)

Menu helper
===========

[](#menu-helper)

A Laravel heper to create menu.

Installation
------------

[](#installation)

Install throught composer `composer require plokko/menu-builder`

The package will be auto registered in laravel &gt;=5.5; **If you use laravel &lt;5.5 follow the next two steps**

1. Add service provider to `config/app.php` in `providers` section

```
plokko\MenuBuilder\MenuBuilderServiceProvider::class,
```

1. Register package facade in `config/app.php` in `aliases` section (optional)

```
plokko\MenuBuilder\Facades\Menu::class,
```

Usage
-----

[](#usage)

The MenuHelper package helps you define menu items via a fluent definition.

You can easly add items to the menu, instantiated via the *Menu* facade, via the "item" function; you can easly define other menu or items proprieties via other functions like so:

```
$menu = Menu::useTrans('menu.main')
    ->item('home')->route('home')->icon('home')

    ->item('clients')->route('clients.index')->icon('business')

    ->item('curtain-models')->route('curtain-models.index')->icon('blinds')

    ->whenHasRole('admin', fn($m) =>
        $m->item('users')->route('users.index')->icon('account_circle')->color('pink')
    );

$menuArray = $menu->toArray();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance44

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

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 ~150 days

Recently: every ~174 days

Total

7

Last Release

437d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3899114?v=4)[plokko](/maintainers/plokko)[@plokko](https://github.com/plokko)

---

Top Contributors

[![plokko](https://avatars.githubusercontent.com/u/3899114?v=4)](https://github.com/plokko "plokko (5 commits)")[![Jennoramcaj](https://avatars.githubusercontent.com/u/44192473?v=4)](https://github.com/Jennoramcaj "Jennoramcaj (1 commits)")

---

Tags

laravelhelperbuildermenu

### Embed Badge

![Health badge](/badges/plokko-menu-builder/health.svg)

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

###  Alternatives

[outl1ne/nova-menu-builder

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

243268.1k4](/packages/outl1ne-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)
