Header Ads

HOW TO INSTALL LARAVEL ON WINDOWS XMAP

Title :  How to install laravel project  or How to install laravel on Windows Xampp.              
Introduction:
        Installing Laravel is very  easy and few steps to follow and creating your own app is so easy too. Here I just give some very easy way to install laravel on our windows machine with Xampp (MySQL, PHP, and Apache) Environment.  First make sure that we have installed Xampp on our localhost. Than install composer to initiate setup.
We can get windows composer from here (link: https://getcomposer.org/download/. ) Than just download and install it. Than we have the following things to start installing laravel.


Functionalities :
Steps 1:


Press  Win_key+R  of  your keyboard,  Than appear a window  like as that’s picture
Now ,press OK  and open Cmd.exe , type “ Composer” on the cmd window like as


         In that time  Xampp (MySQL, PHP, and Apache)  should be run
                                                                                               



Steps2: Make sure  

1. Xampp installed on windows pc or lap.
2. composer downloaded and installed it.
3. Make sure your system connected to internet.
Than the steps begins,
1. Open htdocs folder (C:/xampp/htdocs/ ). Than right click your mouse and there you will see some additional options as like shown in the following image. 

 There click Use Composer here. It will initiate  composer here. I mean a Dos-Command Prompt opens and path is already found in it,  and type the following command as like shown in the figure.

Then it will start downloading laravel files from server. It appears like the following commants in it.

**********************************************************
Installing laravel/laravel (v5.1)
  - Installing laravel/laravel (v5.1)
    Downloading: 100%
......................................................................................................................................................
laravel/framework suggests installing doctrine/dbal (Allow renaming columns and
dropping SQLite columns.)
Writing lock file
Generating autoload files ,Generating optimized class loader
##########################################################

We add the commend in the cmd php artisan serve and than the image  appear
with additionally it creates your laravel application key. that will be shown in the end of the line. Than open our browser and type
http://localhost:8000
 we will get  a screen like this


DONE 



No comments

Powered by Blogger.