Home >Backend Development >PHP Tutorial >Laravel installation simple tutorial
1. curl -sS https://getcomposer.org/installer | php
2. mv composer. phar /usr/local/bin/composer
3. composer install
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!