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

Video Face Swap

Video Face Swap

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

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

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.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

EditPlus Chinese cracked version

EditPlus Chinese cracked version

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

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools