PHP code example of apiadmin / apiadmin4
1. Go to this page and download the library: Download apiadmin/apiadmin4 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/ */
apiadmin / apiadmin4 example snippets
php think apiadmin:install
php think migrate:run
* 如出现报错:There are no commands defined in the "migrate" namespace.
* 请先更新下think版本:composer update topthink/framework
* 再执行:php think migrate:run
* 特别鸣谢:@孙晔华
php think apiadmin:adminRouter
cat install/lock.ini