Thinkphp 笔记
安装Composer
更换源
composer config -g repo.packagist composer https://packagist.phpcomposer.com
更换TP源
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
创建项目
composer create-project topthink/think=5.1.* tp5
启动内置服务器的指令
php think run
生成模块
php think build --module test
生成控制器
php think make:controller admin/Login