Saturday, July 20, 2013

Laravel 3 Development Environment

This tutorial is a simplified approach to setup Laravel Development environment for Windows beginners. If you want to use XAMPP as the Apache and MySQL server package, follow this tutorial, http://setup-steps.blogspot.com/2013/01/laravel-virtual-host-on-xampp.html

LARAVEL DIRECTORY SETUP
1) Download Laravel Version 3
Browse URL https://github.com/laravel/laravel/tree/3.0
Click Download ZIP.


2) Unzip laravel-3.0.zip to C:\Z\


3) We will use UwAmp for running Apache and MySQL server.
If you haven't got UwAmp, download the server from here.

4) Register a development domain in Windows, e.g laravel.local
a) Open the file C:\Windows\System32\drivers\etc\hosts
b) Add laravel.local to the line 127.0.0.1
c) save the file.
Note: if Windows doesn't allow you to save, reopen Notepad++ as an Admin user.


5) Create Virtual Host in UwAmp.
a) Click Apache Config
b) In Server Name textbox type: laravel.local
c) In Document Root textbox type: C:/Z/laravel-3.0/public/
d) Click OK. The item laravel.local *:80 will appear in Virtual Server list.

6) Browse URL http://laravel.local




LARAVEL DATABASE CONFIGURATION
1) Open [Laravel_Home]/application/config/database.php

2) Edit the connection setting.



3) Access MySql database via phpmyadmin. Create new database myfirstdb.
By default, the username/password is root/root.













LEARNING LARAVEL FRAMEWORK
Proceed to http://codehappy.daylerees.com/project-structure to explore more on Laravel Framework.

9 comments:




  1. TOO BAD, the links provided above are not working. I tried it and just a suggestion, do not waste your time guys! Good news is that, I already found the real file, after some searching all around. I want to ease your burden looking, so I am just giving you the real download link.


    CLICK THIS LINK TO DOWNLOAD THE FULL FILE

    CLICK THIS LINK TO DOWNLOAD THE FULL FILE


    I JUST WISH YOU HAVE A GREAT DAY AND ENJOY! HOPE I REALLY HELPED :)

    ReplyDelete
  2. If you want your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (no matter why you broke up) you got to watch this video
    right away...

    (VIDEO) Get your ex CRAWLING back to you...?

    ReplyDelete
  3. BlueHost is ultimately the best web-hosting company with plans for any hosting needs.

    ReplyDelete
  4. Thanks!! for such wonderful article about Data Connection within Laravel Development. Actually it is nice post!! As a web Developer at Kunsh Technologies - Offshore Software Development Company I believe that Laravel PHP Framwork is best suits for advance Web and Mobile Application Development till date.

    ReplyDelete
  5. nemco.com.au
    Laravel development company | Laravel Development Services – Nemco
    Nemco digital is a Laravel application Development Company in Sydney. Offers Laravel Web Application Development services. Hire Dedicated Laravel developer from Nemco.
    Laravel development
    | Laravel development company

    ReplyDelete
  6. I read that Post and got it fine and informative. Please share more like that...Great Article it its really informative . Its was really valuable. Thanks a lot.
    Laravel development company UK | Laravel Development Services UK

    ReplyDelete
  7. I read that Post and got it fine and informative. Please share more like that...Great Article it its really informative and innovative keep here:
    web design | laravel development

    ReplyDelete
  8. Great article..! Thanks for sharing your great article its very helpful for me so please check php web developer london | codeignitor developer

    ReplyDelete