To set up Laravel on your PC we first need to install a couple of things.
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.
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.
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
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ć