Setting Up Laravel on Windows

By Shivam Chawla on May 02, 2017

Brief about Laravel:

Laravel is a PHP Framework developed by Taylor Otwell. Laravel enables you to write PHP application in expressive and beautiful syntax. Laravel helps both the solo developer and the whole team to increase the speed the development of a project. Laravel is currently the most popular PHP framework on the market. The newest version of Laravel at the time of this article is Laravel 5.2.

Requirements to install laravel on windows:

  1. PHP version > 5.4
  2. Composer
  3. Mysql
  4. Apache or Nginx


Steps to install laravel on windows:

  1. Download and install wamp or xampp on your pc and setup php and mysql path variable in your windows pc environment. Wamp/Xampp installs Apache, MySQL and PHP which are needed to run any PHP application on a computer.
  2. Download and install composer by going to and test  by running command composer in windows  command prompt.
  3. Open command prompt and go to the folder where you want to install laravel.
  4. Type the following command:

    composer create-project laravel/laravel project_name

  5. Wait till the composer downloads all the dependencies and sets up your laravel project.
  6. After the download is complete, you can run the following command  :

    php artisan serve

         in the same folder to run your laravel project.

Your laravel project is now setup and now you can start working on it.

{{comments_count}} Comments

ShivamChawla.Net - 3 months ago

php artisan serve

{{ }}


{{ error }}