Tuesday 2 August 2016

How to install Laravel 5 on wamp server

How to install Laravel 5 on wamp server

We are going to install Laravel5.0 on wamp server in windows.


Question: What are system requirement for laravel5.0?
Following are system requirements:
  1. PHP >= 5.4, PHP < 7
  2. Mcrypt PHP Extension
  3. OpenSSL PHP Extension
  4. Mbstring PHP Extension
  5. Tokenizer PHP Extension



Question: How to install Laravel5.0?
  1. You must have composer. If not install composer.
  2. Create a folder where you want to install the laravel. Supppose
    E:\wamp\www\laravel
  3. Login to Command Prompt and go the "E:\wamp\www\laravel" using cd command.
  4. Execute following command
    composer create-project laravel/laravel laravel "5.0.*" --prefer-dist
  5. Set the document_path to "E:\wamp\www\laravel\public" OR You can use virtual host for this. In any ways file must point to public folder first.