PHP code example of shopex / luban-admin
1. Go to this page and download the library: Download shopex/luban-admin 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/ */
shopex / luban-admin example snippets
php artisan vendor:publish
php artisan make:auth
Admin::routes();
Route::get('/profile', function(){
return 'profile';
})->middleware('auth');
Route::get('/admin-site-menus', function(){
return [];
})->middleware('auth');
npm run dev
php artisan migrate
php artisan serve