
Step 1
- Install composer from link on laravel official website
Laravel utilizes composer to manage its dependencies. First
download a copy of the compose.phar once you have PHAR archive, you can either
keep it in your local project directory or move to user/local/bin to use it
globally on your system. On Windows, you can use the composer windows installer
Step 2
- Through command prompt
First, download the Laravel installer using
Composer.
Command: “composer global require "laravel/installer=~1.1"
Make sure to
place the ~/.composer/vendor/bin directory in your PATH so the laravel executable
is found when you run the laravel command in your terminal.
Once
installed, the simple laravel new command will create a fresh Laravel
installation in the directory you specify. For instance, laravel new blog would
create a directory named blog containing a fresh Laravel installation
with all dependencies installed. This method of installation is much faster
than installing via Composer.
Step 3
- Via Composer Create-Project
You may also install Laravel by issuing the
Composer create-project command in your terminal:
Command=”composer create-project
laravel/laravel --prefer-dist”
Laravel is a free, open source PHP web application framework, designed for the development of model–view–controller (MVC) web applications. Laravel is released under the MIT license, with its source code hosted on GitHub.
ReplyDelete