Osijek,
Croatia
+385 95 578 4732
MON - FRI, 4PM - 10PM
ivan@javorovic.com
REPLY IN 24 HOURS
Ivan Javorović profile image

Ivan Javorović

Full Stack Developer

  • BORN : October 3, 1995
  • NICKNAME : Jawe
  • FAVORITE BAND : The Beatles

How to setup Laravel on your PC (Installation 2018)

2,243 views

Guide, Laravel, Node.js, Composer, WAMP, Install, Project

To set up Laravel on your PC we first need to install a couple of things.



STEP 1 (Node.js)


First we need to install node.js


For this go here https://nodejs.org/en/


Pick the LTS version currenty 8.11.2 as of making this post, because it’s the most stable.




STEP 2 (Composer)


Next we need to install composer.


For this go here https://getcomposer.org/download/


The easiest way is just by clicking th Composer-Setup.exe link in the Windows Installer section.




STEP 3 (WAMP)


If you’re going to be working with databases (there is no real reason to use Laravel without using them) then you will need to install a web development environment WAMP.


For this go here http://www.wampserver.com/en/#download-wrapper


Select wampserver with the bit amount matching your operating system.


You can check this by going to ‘This PC‘ on your computer, right clicking on a blank area and selecting properties.


Also you will need to install Visual C++ Redistributable for Visual Studio 2012 Update 4,

you can get it here https://www.microsoft.com/en-us/download/details.aspx?id=30679




STEP 4 (Installing Laravel)


Open up cmd (Win + R and search cmd), type this command in:

composer global require "laravel/installer"


Now you are all set up to make new awesome project using Laravel!


Use this command to make a new Laravel project and start coding:

laravel new blog


Now you can start learning Laravel! You have more tutorials on my website, but I would also recommend reading this great book on Laravel called Laravel: Up and Running!

By: Ivan Javorović