How To Create new laravel Project Latest Version In Windows

By : PHPErrorCode September 27, 2017 454 Views laravel

In this post you will learn installation Laravel project all Version step by step, Laravel is a very powerful php framework, designed for the development of model–view–controller (MVC) web applications,It will give you ways to modularize your codes and make them look cleaner and easier to read and understand. It is free and open source software under MIT License.

hope you will like it. Please take a look at the below step.

Requirements:

  1. Install Xampp (php version): laravel 5.4 ( PHP >= 5.6.4 ) , Laravel 5.5 ( PHP >= 7.0.0 )
  2. Install Composer
  3. PDO PHP Extension
  4. OpenSSL PHP Extension
  5. Mbstring PHP Extension
  6. Tokenizer PHP Extension

Install Xampp Server:

First of all, we need Xampp server, so we can download it from the official page: Download Xampp Server

Install Composer:

Download composer setup to install latest version of composer. Download Composer

Now you just need to set path of composer in path environment variable. —>set environment variables in windows

Then you can use it via composer keyword in command line simply. Composer’s official website

After install it, we can open a Windows terminal and write composer for execute the command:

composer
Output
composer-install-or-not-Output

Install Laravel Project:

open command promt and go to your project derectory path, and folow below command.

Install(Dounload) Latest Laravel project using this below Command (run this in Command Prompt)

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

Install Laravel 5.4 Project:

composer create-project --prefer-dist laravel/laravel project_name "5.4.*"

Install Laravel 5.3 Project:

composer create-project --prefer-dist laravel/laravel project_name "5.3.*"

Install Laravel 5.2 Project:

composer create-project --prefer-dist laravel/laravel project_name "5.2.*"

Install Laravel 5.1 Project:

composer create-project --prefer-dist laravel/laravel project_name "5.1.*"

Install Laravel 5.0 Project:

composer create-project --prefer-dist laravel/laravel project_name "5.0.*" --prefer-dist

Install Laravel 4.2 Project:

composer create-project --prefer-dist laravel/laravel project_name "4.2.*" --prefer-dist

run Laravel Project:

open command promt and go to your project derectory path, and folow below command.

php artisan serve

Now you just Open Browser and go to below url line.

localhost:8000