PHP code example of dagasmart / bizadmin

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

    

dagasmart / bizadmin example snippets


composer create-project --prefer-dist laravel/laravel my-app 13.*
或通过 composer global 

// file: config/admin.php

// 配置 modules
// 建议首字母大写, 大驼峰格式
// ...
'modules' => [
    'Master' => true // 在这里配置模块名, 以及启用状态
]
shell
php artisan install:api
shell
# 先发布框架资源
php artisan admin:publish
# 执行安装 (可以在执行安装命令前在 config/admin.php 中修改部分配置)
php artisan admin:install
bash
composer dump-autoload