2017 © Pedro Peláez
 

library simple_menu_laravel

Simple menu for laravel which loads menu from config file

image

noob/simple_menu_laravel

Simple menu for laravel which loads menu from config file

  • Saturday, July 15, 2017
  • by Spider-Tech
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Simple Menu Laravel Build Status contributions welcome Codacy Badge

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A quick and easy way to create menus in Laravel 5, (*2)

Documentation

Installation

composer require noob/simple_menu_laravel

Now, append Laravel Menu service provider to providers array in config/app.php., (*3)

 [

        /*
         * Laravel Framework Service Providers...
         */
        ...
        
            'noob\simple_menu_laravel\SimpleMenuServiceProvider::class',
        
        ...

],
?>

At the end of config/app.php add 'SimpleMenu' => 'noob\simple_menu_laravel\SimpleMenuFacade' to the $aliases array:, (*4)

 [

    ...
    'SimpleMenu'       => 'noob\simple_menu_laravel\SimpleMenuFacade',

],
?>

This registers the package with Laravel and creates an alias called SimpleMenu., (*5)

Now publish the config files and view files to the appropriate directory, (*6)

php artisan vendor:publish

Once published two new files are created at config/menu.php, (*7)

 [
        'title' => 'dashboard',
        'url' => '/',
        'order' => 2,
        'children' => []
    ],
?>

and another one in the views folder at resources/views/Layouts/menu.blade.php, (*8)

To do

Functionality

Yet to do, (*9)

Todo

  • create view file for menu
  • publish the view along with config file
  • configure dynamic depth in view file
  • create a method to return as html with essential classnames
  • find active and check active is working
  • add comments to all files
  • invoke BreadCrumbs

The Versions

15/07 2017

dev-master

9999999-dev

Simple menu for laravel which loads menu from config file

  Sources   Download

MIT

The Requires

 

by noob

laravel menu simple menu

30/04 2017

V1.0.1

1.0.1.0

Simple menu for laravel which loads menu from config file

  Sources   Download

MIT

The Requires

 

by noob

laravel menu simple menu