2017 © Pedro Peláez
 

package menu-generator

Backend navigation menu generator for Laravel 5.3 and 5.4.

image

tyondo/menu-generator

Backend navigation menu generator for Laravel 5.3 and 5.4.

  • Thursday, June 7, 2018
  • by Rndwiga
  • Repository
  • 2 Watchers
  • 1 Stars
  • 74 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 57 % Grown

The README.md

laravel-menu-generator

For below laravel 5.5

register the Service provider Tyondo\MenuGenerator\TyondoMenuGeneratorServiceProvider::class,, (*1)

The service prover is autoloaded in laravel 5.5, (*2)

usage

{!! GenerateMenu::generateMenu(config('tyondo_menu_generator.navigation')) !!}

or, (*3)

{!! GenerateMenu::generateMenu(config('tyondo_menu_generator.navigation',view.template)) !!}

then publish the config file:, (*4)

php artisan vendor:publish

Sample Menu

'navigation' => [
        [
            'type' => 'single',
            'title' => 'Dashboard',
            'class' => 'fa fa-fw fa-home fa-lg',
            'route' => 'gentella.home',
        ],
        [
            'type' => 'group',
            'group' => 'Assessment',
            'class' => 'fa fa-cubes fa-lg',
            'links' => [
                [
                    'title' => 'Personal Information',
                    'class' => 'fa fa-fw fa-plus',
                    'route' => 'admin.personal.information.index'
                ],
                [
                    'title' => 'Personal Assessment',
                    'class' => 'fa fa-fw fa-th-list',
                    'route' => 'admin.personal.assessment.index'
                ],
                'separator',

                [
                    'title' => 'Training Needs',
                    'class' => 'fa fa-fw fa-table',
                    'route' => 'admin.training.assessment.index'
                ],
            ]
        ],
    ],

The Versions

07/06 2018

dev-master

9999999-dev https://github.com/Rndwiga/laravel-registration-confirmation

Backend navigation menu generator for Laravel 5.3 and 5.4.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel navigation admin menu nav

07/06 2018

v1.0.4

1.0.4.0 https://github.com/Rndwiga/laravel-registration-confirmation

Backend navigation menu generator for Laravel 5.3 and 5.4.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel navigation admin menu nav

29/01 2018

v1.0.3

1.0.3.0 https://github.com/Rndwiga/laravel-registration-confirmation

Backend navigation menu generator for Laravel 5.3 and 5.4.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel navigation admin menu nav

13/08 2017

v1.0.2

1.0.2.0 https://github.com/Rndwiga/laravel-registration-confirmation

Backend navigation menu generator for Laravel 5.3 and 5.4.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel navigation admin menu nav

26/03 2017

v1.0.1

1.0.1.0 https://github.com/Rndwiga/laravel-registration-confirmation

Backend navigation menu generator for Laravel 5.3 and 5.4.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel navigation admin menu nav

06/03 2017

v1.0.0

1.0.0.0 https://github.com/Rndwiga/laravel-registration-confirmation

Backend navigation menu generator for Laravel 5.3 and 5.4.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel navigation admin menu nav