thinkphp5.1搭建网站

1.下载composer, 网站  https://www.phpcomposer.com

2.thinkphp5.1搭建网站

3.thinkphp5.1搭建网站

4.下载完成后安装到你想安装的目录,最后找到你的php.exe文件,一般在wampserver的bin\php\的某个版本下。

5.回到下载Composer的网站首页

thinkphp5.1搭建网站

thinkphp5.1搭建网站

thinkphp5.1搭建网站

6.使用管理员打开命令窗口,输入复制的内容


composer config -g repo.packagist composer https://packagist.phpcomposer.com

thinkphp5.1搭建网站

7.安装tp5.1 

thinkphp5.1搭建网站

thinkphp5.1搭建网站

thinkphp5.1搭建网站

thinkphp5.1搭建网站

thinkphp5.1搭建网站

thinkphp5.1搭建网站