PHP code example of devfactory / menu

1. Go to this page and download the library: Download devfactory/menu library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

devfactory / menu example snippets


'Devfactory\Menu\MenuServiceProvider',

'MenuAdmin' => 'Devfactory\Menu\Facades\Menu',

Route::group(array('before' => 'admin-auth'), function() {
  Route::controller('menu', '\Devfactory\Menu\Controllers\MenuController');
});

  {!! MenuAdmin::show('nav menu'); !!}