Pages

Monday, April 27, 2015

Installing laravel

Laravel needs composer to manage some dependencies. So we need to go to composer  web first. And follow some instruction. If you find some issues when installing on windows platform try this solusion.

After composer installed, open command prompt on windows.

   start > cmd.exe > composer


if installation success you will find pictures like below when u type composer on command prompt.

composer instalation
composer install success






download laravel using command
>  composer global require "laravel/installer = ~1.1" 


install composer


>  composer create-project laravel --prefer-dist   


structure folder laravel


laravel structure folder can be looked at picture above...


now lets get fired up our local web server to test. Can be done with command prompt, 

>  php artisan serve

( it will open localhost port 8000).

open browser and go to localhost:8000 and voila.














No comments:

Post a Comment