PHP code example of zoujingli / thinkadmin

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

    

zoujingli / thinkadmin example snippets

bash
php -v
php -m
composer --no-plugins check-platform-reqs
bash
# 检查已安装依赖的 PHP 版本与扩展要求
composer --no-plugins check-platform-reqs

# 执行尚未完成的数据库迁移;自动迁移成功后通常没有待执行项
php think migrate:run

# 启动本地调试服务器
php think run --host 127.0.0.1 --port 8000