Scroll To Top

Installing Laravel 5 on Windows OS

Posted in Code3 years ago • Written by Hujjat Nazari1 Comment

Laravel ( current version Laravel 5 ) is one of the most popular PHP framework. In this tutorial we are going to show you how to install this framework on windows operating system. Although installing this framework on windows in a little hard for those who are new to PHP and web development. but we will teach you step by step the easiest way.

Requirement:

  • WAMP or XAMPP Server installed on your system.

If you want to install WAMP Server on Windows, you might need to read this article “How to Create and Configure Local Web Server?

1. installing composer 

Composer is something very strange for those who are new to PHP developments. simply Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

To install composer to to composer.org and download the windows installer version of it.

direct download link

Once the download completed, click on the Composer-Setup.exe to install.

Now click Next to continue installing.

composer1

For Components section leave it as default and click Next.

laravel 5

laravel 5

Now you must browse and fine php.exe file.

It is mostly in C:\wamp\bin\php\php5.5.12 directory. 

And click Next.

composer3

Now it is going to download and install the essential files. Click install.

composer4

Depending on your internet speed, it is going to download the composer and install it.

composer5

 2. installing Laravel 5

Laravel 5 is the latest version of the this framework at time of writing this article.

To install Laravel go to www directory and press Shift and Right-click anywhere, and click on Open command windows here.

composer6

Now you can use create-project command to create a new Laravel project with composer.  To do that simply

write this commands.

composer create-project is just composer command.

laravel/laravel is the directory of laravel in github.

Technig-project is the project name you want to create.

and dev-develop will download and install the latest development version of the framework

After writing the command press Enter.laravel1

Depending on your internet speed it will download the latest version of Laravel and create a new project to your root directory. ( www )

Done !!!

Now you can access your new Laravel installation in public directory of your project.


TAGS: , , , ,

1 Comment so far. Feel free to join this conversation.

  1. Lameck MtakaMay 11, 2017 at 8:14 pm - Reply

    Thank you very much for the help information

Leave A Response