PHP code example of jose-chan / admin-creator

1. Go to this page and download the library: Download jose-chan/admin-creator 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/ */

    

jose-chan / admin-creator example snippets




return [
    "controller_path" => base_path("/app/Admin/Controllers/"), // 控制器存放位置,一般来说是这个位置
    "template_path" => public_path("/stub/"), // 模版文件位置,注释掉的话使用包文件中的模版
];


`bash
php artisan vendor:publish --provider=JoseChan\AdminCreator\Providers\AdminCreatorProvider