Laravel installation simple tutorial

小云云
Release: 2023-03-20 19:16:01
Original
1408 people have browsed it

How to install Laravel? This article will briefly introduce to you the installation method of Laravel, I hope it can help you.

Install Composer

1. curl -sS https://getcomposer.org/installer | php
2. mv composer. phar /usr/local/bin/composer
3. composer install

Install Laravel

1.composer global require “laravel/ installer"
2. Find the vendor/bin/laravel execution file directory through find / -d -name laravel. For example, my path is /root/.config/composer/vendor/bin
3. Open the file /etc /profile, then add at the end: export PATH=$PATH:”/root/.config/composer/vendor/bin”
4. source /etc/profile
5. New project: laravel new projectName

Related recommendations:
laravel learning (1)-laravel installation

##laravel installation and configuration tutorial, laravel configuration tutorial_PHP tutorial

laravel installation instructions, laravel installation_PHP tutorial

The above is the detailed content of Laravel installation simple tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!