PHP code example of feiger / laravel-admins

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

    

feiger / laravel-admins example snippets


return [
    ...

    'multi_app' => [
        // 与新应用的配置文件名称一致
        // 设置为true启用,false则是停用
        'new-admin' => true,
    ],

];
reStructuredText
app
 ├──Admin
 │   ├── Controllers
 │   │   ├── ExampleController.php
 │   │   └── HomeController.php
 │   ├── bootstrap.php
 │   └── routes.php
 │
 ├──Admin2
 │    └── ...
 │   
 │──Admin3
 │    └── ...
 ...
shell
$ php artisan admin:app NewAdmin
reStructuredText
app
 └──NewAdmin
    ├── Controllers
    │   ├── ExampleController.php
    │   └── HomeController.php
    ├── bootstrap.php
    └── routes.php
config
 └──new-admin.php