Friday 24 February 2017

step by step installation laravel on windows wamp

step 1 : First of all download and run cmd prompt

1
d:\xampp\htdoc\laravel> composer global require "laravel/installer=~1.1"

Step 2 : now install laravel or create a project on laravel

1
2
3
4
5
Via Composer to Create-Project Like (Project Name ng4free and dir name also ng4free)
run this on cmd
d:\xampp\htdoc\laravel> composer create-project laravel/laravel ng4free
or
d:\xampp\htdoc\laravel>composer create-project laravel/laravel {directory} 4.2

Step 3 : now fresh this command

1
->d:\xampp\htdoc\laravel> php artisan fresh

step 4 : crate a new generate key laravel

1
->d:\xampp\htdoc\laravel>d:\xampp\htdoc\laravel>php artisan key:generate

step 5 : when your site any Maintenance to this command used

1
2
Start Maintenance Mode
->d:\xampp\htdoc\laravel\ng4free>php artisan down

step 6 : when your site live mode to this command used

1
2
Stop Maintenance Mode
->d:\xampp\htdoc\laravel\ng4free>php artisan up

step 7 : now run this command and check your project

1
->d:\xampp\htdoc\laravel\ng4free>php artisan serve

step 8 : run this url on your and Browser

1
http://localhost:8000/

Good Luck

Some usefull command to learn Laravel : run on cmd

1
2
3
4
5
6
->d:\xampp\htdoc\laravel\ng4free>php artisan make:controller TestController
->d:\xampp\htdoc\laravel\ng4free>php artisan serve
->d:\xampp\htdoc\laravel\ng4free>php artisan up
->d:\xampp\htdoc\laravel\ng4free>php artisan down
->d:\xampp\htdoc\laravel\ng4free>php artisan
->d:\xampp\htdoc\laravel> composer create-project laravel/laravel ng4free
1
2
3
4
5
6
<h1>Solution of AngularJs All Problems For ng4free.com</h1>
 <h3>
<a href="http://techieupgrader.in" alt="Link of angularjs Solution example and demo">
My First Web-Application in angularjs,
So I am very happy and 1000+ more then people are used of techieupgrader.in </a>
</h3>