After installing it, we can open a Windows terminal and write composer for executing the command:
Xampp Virtual Host
We will configure a Virtual Host in Xampp for a Laravel project, and in this example, we want to configure the domain laravel.dev for our project.
We need to edit httpd-vhosts.conf that are located in C:\xampp\apache\conf\extra\httpd-vhosts.conf and add following lines at the end of the file:
# VirtualHost for LARAVEL.DEV
Options Indexes FollowSymLinks
Require all granted
After this, our apache is listening to laravel.dev connections, but we have to configure our hosts file that allows redirecting laravel.dev to the localhost that is located in C:\Windows\System32\drivers\etc
IMPORTANT!: To edit this file, maybe we should give access, click properties and allow your user to modify this file. Edit hosts file adding our localhost for laravel.dev:
# localhost name resolution is handled within DNS itself.# 127.0.0.1 localhost# ::1 localhost
Save the file and we are ready to install laravel.
Install Laravel Framework
We are prepared to install and configure a Laravel Framework. First of all, we have to navigate to a htdocs folder to install it and run this following command:
http://dreamsspark.com/wp-content/uploads/2017/05/laravel-5-installation.jpg515890Shilpahttp://dreamsspark.com/wp-content/uploads/2017/03/LOGO1.pngShilpa2017-05-04 16:56:322017-05-04 16:57:47How to install Laravel 5 with Xampp (Windows)