Home Daily Programming PHP Knowledge How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

Sep 20, 2018 pm 04:33 PM

This article mainly introduces how to download and install the ThinkPHP5.1 framework through composer.

ThinkPHP framework, referred to as TP framework, is an open source PHP development framework. For PHP beginners, the thinkPHP framework is particularly easy to get started, and website programs can be quickly developed and deployed through this framework.

I believe everyone knows that ThinkPHP framework resources can be downloaded from its official website, but I don’t know if you have found that the latest version of the TP framework can no longer be downloaded from the official website.

ThinkPHP official website link: www.thinkphp.cn

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

As shown in the picture above, the latest download from the official website is only version 5.0 of. And when we search the ThinkPHP5.1 manual, we can find the following situation.

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

As shown in the picture above, the official website no longer provides a download version. So actually it is very simple to download the ThinkPHP5.1 version.

First of all, in the previous article [How to install composer under Windows system? ] has taught you how to install composer. Friends in need can refer to it first.

Below we will introduce in detail the specific steps of downloading and installing the ThinkPHP5.1 framework through composer.

Step 1: Open the composer official website and click on the installation package list

composer official website:https://www.phpcomposer.com/

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

Step 2: Search thinkphp and click on the first option in the picture belowHow to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

Step 3: Copy the code command

as shown below. In the lower right corner of the picture, you can select the downloaded thinkphp version, and then copy the "composer create-project topthink/think" command.

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

Step 4: Open the administrator controller and find the website root directory.

Here we are using the phpstudy environment, so the root directory of the website is under www, then paste the command "composer create-project topthink/think", and then this command Write a folder name at the end. Here we take tp5.1, which means download thinkphp5.1 into this folder.

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

As shown in the picture below thinkphp5.1 was successfully downloaded and installed!

How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos)

#The above is an introduction to the simple method of downloading and installing the thinkphp5.1 framework through composer. Hope it helps those in need!

The above is the detailed content of How to download and install the ThinkPHP5.1 framework through Composer? (Pictures + Videos). For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)