search
HomePHP FrameworkThinkPHPInstallation process of thinkphp6

The framework is essential for our development, so we need to know how to install the thinkphp6 (also called tp6) framework. This article will teach you how to install the tp6 framework. Friends in need can take a look.

Installation process of thinkphp6

We have no way to download the tp6 framework directly from the official website, we can only download it through composer. First we need to enter ThinkPHP6.0 Complete Development Manual. You can see the installation in the basics. Click Composer-Setup.exe to install Composer directly.

Installation process of thinkphp6

# After downloading, double-click to enter the installation and go to the next step. The installation will be successful. We use the win key to enter cmd to open the command line. First we need to check the php version. If it is lower than 7, there is no way to install tp6.

Enter

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

on the command line and you can proceed to the next step if no error is reported. After entering

composer create-project topthink/think tp

on the command line, your computer will automatically install tp6. The following code is automatically generated. We only need to observe the word succeed, which indicates that our tp6 installation is successful.

Installation process of thinkphp6

After the tp6 installation is completed, we need to test it. Enter

php think run

on the command line and enter

http://localhost:8000/

or ## on the browser. #

http://127.0.0.1:8000/

You can see the welcome page. Congratulations, you have now completed the installation of

ThinkPHP6.0.

Related learning recommendations:

thinkphp6 The latest 10 thinkphp video tutorial recommendations

The above is the detailed content of Installation process of thinkphp6. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function