PHP code example of ronappleton / menucrud

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

    

ronappleton / menucrud example snippets

sidebar.blade.php

php artisan migrate

Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), 'middleware' => ['web', 'auth'], 'namespace' => 'Admin'], function () {
    // Backpack\MenuCRUD
    Route::crud('menu-item', 'MenuItemCrudController');
});

php artisan vendor:publish --provider="Backpack\MenuCRUD\MenuCRUDServiceProvider"

php artisan migrate
routes/backpack/menucrud.php