Part 2.1: Download and Installing Laravel 5.x
Please Note: If you haven’t yet installed Composer please install it according to the instructions given in my previous post Installing Composer in 7 Steps as you can’t install Laravel 5.x without first installing the Composer.
Let’s start installing Laravel 5.x by following these 3 steps.
- Open command prompt/shell and follow the steps given below:
- Prompt to the directory where you want to install the “Laravel 5.x”. (It might be “htdocs” for “XAMPP” or “www” for “WAMP”)
- Type the following command and hit “Enter” key:
composer create-project laravel/laravel laravel5-test-proj dev-develop --prefer-dist
You’ll notice some downloading has get started as shown below:
After a few moments larvel 5.x would have been installed on you machine. Click here to check if your laravel has successfully installed or not! You should see the following screen in case of laravel 5.x has successfully installed on your machine: