search
HomeDaily ProgrammingPHP KnowledgeHow to install Laravel framework through composer? (Pictures + Videos)

This article mainly introduces the steps to install the Laravel framework through composer.

First of all, everyone needs to knowWhat is the Laravel framework?

Laravel is a simple and elegant young PHP web development framework. The framework code is easy to understand and powerful. It is suitable for collaborative development of large websites and is also one of the mainstream PHP frameworks.

The Laravel framework requires composer to install and manage dependencies. So in the previous article [How to install composer under Windows system? ], I have already introduced how to install composer. Friends who have not installed composer can refer to it first.

Below we will introduce how to install the Laravel framework through composer in the form of pictures and texts.

Step 1: Open the composer official website https://www.phpcomposer.com/

Click on the installation package list;

How to install Laravel framework through composer? (Pictures + Videos)

Enter Laravel and select to download the Laravel framework.

How to install Laravel framework through composer? (Pictures + Videos)

Step 2: Select Laravel to install the specified version and copy the composer command.

How to install Laravel framework through composer? (Pictures + Videos)

Step 3: Open the administrator console

How to install Laravel framework through composer? (Pictures + Videos)

Find the PHP project root directory, Paste the command copied above and set the download directory name after it.

How to install Laravel framework through composer? (Pictures + Videos)

Waiting for installation.

How to install Laravel framework through composer? (Pictures + Videos)

How to install Laravel framework through composer? (Pictures + Videos)

As shown below, the Laravel framework has been installed successfully.

How to install Laravel framework through composer? (Pictures + Videos)

How to install Laravel framework through composer? (Pictures + Videos)

Note: Friends who installed according to the above Laravel installation tutorial may find themselves waiting for the installation process. , it takes a long time to wait. Because we download resources directly from foreign servers here, if we want to increase the installation speed, we can install Chinese mirrors.

Then we can open https://pkg.phpcomposer.com/

as shown in the figure to download and install the Chinese image.

How to install Laravel framework through composer? (Pictures + Videos)

How to install Laravel framework through composer? (Pictures + Videos)

Just copy the above command and paste it in the administrator console.

How to install Laravel framework through composer? (Pictures + Videos)

After installing the image, you can test it according to the above tutorial steps.

This article is about the specific steps to install the Laravel framework through composer. If you need to install the ThinkPHP framework, you can refer to this article [How to download and install the ThinkPHP5.1 framework through Composer?

If you want to know more about PHP, you can follow the PHP Chinese website PHP video tutorial!

The above is the detailed content of How to install Laravel framework through composer? (Pictures + Videos). 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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)