PHP code example of laramall / laravel-admin-menu
1. Go to this page and download the library: Download laramall/laravel-admin-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/ */
laramall / laravel-admin-menu example snippets
`
php >=7.0
laravel >= 5.4
`
php artisan vendor:publish --provider="LaraMall\Admin\Menu\MenuServiceProvier"
//菜单的配置文件在 config/menu.php
//first 为一级菜单
//second 为二级菜单