PHP code example of ampedweb / laravel-backpack-mega-menu
1. Go to this page and download the library: Download ampedweb/laravel-backpack-mega-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/ */
ampedweb / laravel-backpack-mega-menu example snippets
$this->crud->addField([
'name' => 'agreed',
'label' => 'I agree to the terms and conditions',
'type' => 'new_field_name',
'view_namespace' => 'ampedweb.laravel-backpack-mega-menu::fields',
]);
php artisan vendor:publish --provider="AmpedWeb\LaravelBackpackMegaMenu\AddonServiceProvider"