PHPackages                             classy/mega-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. classy/mega-menu

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

classy/mega-menu
================

A Laravel MegaMenu Package to make your life easier

v0.1(7y ago)0161MITPHP

Since Jul 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ihabhamad/LaravelMegaMenu)[ Packagist](https://packagist.org/packages/classy/mega-menu)[ RSS](/packages/classy-mega-menu/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

Classy Menu a Laravel Mega Menu
===============================

[](#classy-menu-a-laravel-mega-menu)

A Laravel MegaMenu Package to make your life easier supporting Laravel 5.4, 5.5 and 5.6!

Installation Steps
------------------

[](#installation-steps)

### 1. Require the Package

[](#1-require-the-package)

After creating your new Laravel application you can include the ClassyMenu package with the following command:

```
composer require classy/mega-menu
```

### 2. Add the DB Credentials

[](#2-add-the-db-credentials)

Next make sure to create a new database and add your database credentials to your .env file:

```
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

```

### 3. Run The Migration

[](#3-run-the-migration)

```
php artisan migrate:install
            OR
php artisan migrate:refresh
```

Congratulations Can you use Classy Menu now

How To Use
----------

[](#how-to-use)

to show your menu by name use

```
$menuname = "main_menu" @ menu name from database

$type = "default" Or "bootstrap" Or "costem.menu.view"

$options = array('color' => true , 'background' => true , 'icon' => true)

Or in blade

$option1 = "background" background color in database @css
$option2 = "color"      Font Color in database @css
$option3 = "icon"       icon class in database exa: fa fa-home

By Blade Directive @ClassyMenu(String $menuname, String $type, String $option1, String $option2 ,String option3)

   example @ClassyMenu(main,bootstrap,color,icon)

   example @ClassyMenu(main,mymenu,color)

   example @ClassyMenu(main,default)

By Helper Function ClassyMenu(String $menuname,String $type ,array options)

   example ClassyMenu("main","bootstrap",["color"=>true,"icon"=>true])

   example ClassyMenu("main","mymenu",["background"=>true])

   example ClassyMenu("main","fronend.menu.mymenu")

By Fcade ClassyMenu::display(String $menuname,String $type ,array options)

   example ClassyMenu::display("main","bootstrap",["color"=>true,"icon"=>true])

   example ClassyMenu::display("main","mymenu",["background"=>true])

   example ClassyMenu::display("main","fronend.menu.mymenu")
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2847d ago

### Community

Maintainers

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

---

Top Contributors

[![ihabhamad](https://avatars.githubusercontent.com/u/16678100?v=4)](https://github.com/ihabhamad "ihabhamad (4 commits)")

---

Tags

laravelmenubootstrapdrop downnavmega-menumegamenufull menudrop down menumitralizenav bar

### Embed Badge

![Health badge](/badges/classy-mega-menu/health.svg)

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

###  Alternatives

[nwidart/laravel-menus

Laravel Menu management

168180.3k10](/packages/nwidart-laravel-menus)[pingpong/menus

Laravel Menus

70194.4k13](/packages/pingpong-menus)[akaunting/laravel-menu

Menu and sidebar management package for Laravel

38233.8k](/packages/akaunting-laravel-menu)[rinvex/laravel-menus

Rinvex Menus is a simple menu builder package for Laravel, that supports hierarchical structure, ordering, and styling with full flexibility using presenters for easy styling and custom structure of menu rendering.

294.0k20](/packages/rinvex-laravel-menus)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[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)
