PHP code example of jblv / daimakuai

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

    

jblv / daimakuai example snippets


php artisan admin:make UserController --model=App\\User


然后运行下面的命令完成安装:

Laravel 5.5

> 安装前,对.env里的数据库等信息进行修改

php artisan vendor:publish --provider="Jblv\Admin\AdminServiceProvider"



php artisan admin:install

app/Admin
├── Controllers
│   ├── ExampleController.php
│   └── HomeController.php
└── routes.php