Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.
Via Laravel Installer
composer global require "laravel/installer"
Once installed, the laravel new
command will create a fresh Laravel installation in the
directory you specify. For instance, laravel new blog
will create a directory named blog
containing a fresh Laravel installation with all of Laravel's dependencies already installed:
laravel new Laraquery
Via Composer Create-Project
Alternatively, you may also install Laravel by issuing the Composer create-project
command in your terminal:
composer create-project --prefer-dist laravel/laravel blog
Source: www.laravel.com
No comments:
Post a Comment