Installing Laravel 5 on Windows OS
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.
- 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.
For Components section leave it as default and click Next.
Now you must browse and fine php.exe file.
It is mostly in C:\wamp\bin\php\php5.5.12 directory.
And click Next.
Now it is going to download and install the essential files. Click install.
Depending on your internet speed, it is going to download the composer and install it.
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.
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 laravel/laravel Technig-project dev-develop
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.
Depending on your internet speed it will download the latest version of Laravel and create a new project to your root directory. ( www )
Now you can access your new Laravel installation in public directory of your project.
Thank you very much for the help information