codovel

We no longer support this blog. Please visit this site instead. www.codovel.com

Friday, June 17, 2016

How to install Laravel framework

Suppose that you are using Window with Wamp installed, and C:\wamp\www is the root folder of your project. 

Step 1: open command prompt (CMD) and type php –v. and make sure you will return information like this. 

 

If not, please add your php path (C:\wamp\bin\php\php5.5.12) in the system variable 

 

Step 2: download and install composer https://getcomposer.org/Composer-Setup.exe

Step 3: open command prompt (CMD) and type composer. and make sure you will return information like this. 

 

If not, please add your composer path (C:\ProgramData\ComposerSetup\bin) in the system variable. 

 

Step 4: 
Note: In order to make the installation process faster, please go to disable xdebug in your php.ini file. 

 
Then open command prompt (CMD) and go to root folder (C:\wamp\www). Then run 

              composer create-project --prefer-dist laravel/laravel test_laravel

It means that your laravel project will install to test_laravel folder which locate in C:\wamp\www 

 

   

Step 5: Once the installation is done, please go to browser and type http://localhost/test_laravel/public 



If you see the screen like this, it means your laravel project was successfully installed.

2 comments:

Dhaval Thakkar said...
This comment has been removed by the author.
Dhaval Thakkar said...

Thanks for this tutorial...!!