2017 © Pedro Peláez
 

library mega-menu

A Laravel MegaMenu Package to make your life easier

image

classy/mega-menu

A Laravel MegaMenu Package to make your life easier

  • Saturday, July 28, 2018
  • by ihabhamad
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Classy Menu a Laravel Mega Menu

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

Installation Steps

1. Require the Package

After creating your new Laravel application you can include the ClassyMenu package with the following command:, (*2)

composer require classy/mega-menu

2. Add the DB Credentials

Next make sure to create a new database and add your database credentials to your .env file:, (*3)

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

3. Run The Migration

php artisan migrate:install
            OR  
php artisan migrate:refresh

Congratulations Can you use Classy Menu now, (*4)

How To Use

to show your menu by name use, (*5)

$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") 

The Versions

28/07 2018

dev-master

9999999-dev

A Laravel MegaMenu Package to make your life easier

  Sources   Download

MIT

The Requires

 

by ihab hamad
by Khallil Khasseb

laravel bootstrap menu nav drop down megamenu mega menu full menu drop down menu mitralize nav bar

27/07 2018

v0.1

0.1.0.0

A Laravel MegaMenu Package to make your life easier

  Sources   Download

MIT

The Requires

 

by ihab hamad
by Khallil Khasseb

laravel bootstrap menu nav drop down megamenu mega menu full menu drop down menu mitralize nav bar