Make coding learn easy

How to install Laravel 5.3 in localhost windows


Laravel Framework need localhost server in PC for develop, and you will need to make sure your server meets the following requirements:
  •     PHP >= 5.5.9
  •     OpenSSL PHP Extension
  •     PDO PHP Extension
  •     Mbstring PHP Extension
  •     Tokenizer PHP Extension
you can use localhost application server XAMPP, so we can download it from the official page:


next, after downloaded and installed XAMPP, we need to install Composer for manage its dependencies. In windows install composer its easy, going to official page and download installer composer.


  
After downloaded and installed Composer, we need to running XAMPP 

 
and make new folder in:
C:\xampp\htdocs\name_project_laravel_folder

after running XAMPP and make new folder, going to folder has been created, and open Command Prompt (CMD) with Shift+Right click mouse, choose "Open command window here".


now we can install laravel, use this command for installation Laravel 5.3 on CMD:
  • composer create-project laravel/laravel laravel "5.3.*"
    this command will installed laravel version 5.3
  • composer create-project laravel/laravel --prefer-dist
    this command will installed laravel is referenced or stable
after that, click Enter for execute command and waiting until successfully installed.


laravel 5.3 success installed, now we can try running laravel with:

  • Command artisan and url http://localhost:8000
    type command on C:\xampp\htdocs\name_project_laravel_folder\laravel

    php artisan serve

    and open url http://localhost:8000 on your web browser
  • or for simple, open url http://localhost/name_project_laravel_folder/laravel/public/
2 Comments for "How to install Laravel 5.3 in localhost windows"

Back To Top