PHP code example of zhanghong / tpadmin

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

    

zhanghong / tpadmin example snippets


return [

    'app_init'     => [
        \tpadmin\behavior\Boot::class,
    ],

    // ...
];
shell
#初始化
$ php think tpadmin:init
#安装数据库迁移扩展包
$ composer tpadmin:seed