Home  >  Article  >  Backend Development  >  Laravel installation simple tutorial

Laravel installation simple tutorial

小云云
小云云Original
2018-03-06 10:00:071440browse

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!

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