//访问频率安装
composer require topthink/think-throttle
//jwt安装
composer require firebase/php-jwt
//tp 框架安装
composer create-project topthink/think tp
//查看当前tp框架的版本号
php think version
//多应用模式生成demo
php think build demo
//清楚缓存文件
php think clear
//清除日志目录
php think clear --log
//清除日志目录并删除空目录
php think clear --log --dir
//可以使用下面的指令查看定义的路由列表
php think route:list
//安装迁移文件
composer require topthink/think-migration
//创建迁移文件
php think migrate:create AnyClassNameYouWant
//自定义这个迁移文件
public function change() {
// create the table $table = $this->table('users',array('engine'=>'MyISAM'));
$table->addColumn('username', 'string',array('limit' => 15,'default'=> '','comment'=>'用户名,登陆使