PHP code example of noob / simple_menu_laravel

1. Go to this page and download the library: Download noob/simple_menu_laravel 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/ */

    

noob / simple_menu_laravel example snippets




'providers' => [

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

],



'aliases' => [

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

],



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

To do
bash
php artisan vendor:publish