最新消息: 新版网站上线了!!!

thinkphp5如何安装?5.1开始不支持官方下载,使用Composer安装

5.1版本开始,官网不再提供下载版本,请使用Composer或者git方式安装和更新。

一、如果你的电脑没有安装Composer,请自行下载安装

二、如果已经安装了Composer


C:\Users\Administrator>d:

D:\>cd D:\phpstudy\WWW

D:\phpstudy\WWW>composer create-project topthink/think tp5

Installing topthink/think (v5.1.36)

  - Installing topthink/think (v5.1.36): Downloading (100%)

Created project in tp5

Loading composer repositories with package information

Updating dependencies (including require-dev)

Package operations: 2 installs, 0 updates, 0 removals

  - Installing topthink/think-installer (v2.0.0): Downloading (100%)

  - Installing topthink/framework (v5.1.36): Downloading (100%)

Writing lock file

Generating autoload files


转载请注明:谷谷点程序 » thinkphp5如何安装?5.1开始不支持官方下载,使用Composer安装