Step1:安装ThinkPHP
git clone -b 5.1 https://github.com/top-think/think thinkphp5
或者
git clone -b 5.1 https://gitee.com/liu21st/thinkphp.git thinkphp5
跳到安装目录,下载核心框架。
cd thinkphp5
Step2:ThinkPHP 核心框架库
git clone -b 5.1 https://github.com/top-think/framework.git thinkphp
或者
git clone -b 5.1 https://gitee.com/liu21st/framework.git thinkphp