The top crucial part to install laravel on windows is requirements that demand the proper workflow of the framework. You need to fulfil the condition mentioned below before establishing the Laravel framework.
- PHP >= 5.6.4
- OpenSSL PHP Extension
- Tokeniser PHP Extension
- Mbstring PHP Extension
- XML PHP Extension
- PDO PHP Extension
For handling dependencies, Laravel applies composer. You need to be sure that you have a Composer installed on your system before you install Laravel on windows.
In this section, you will understand the installation process of Laravel. You will need to comprehend the measures given below for installing Laravel onto your system.
Step 1
Visit the below-mentioned URL and download composer to install it on your system.
Step 2
After downloading composer, open the command prompt browse to the web server root directory or localhost folder.
Well! Hopefully, you already have installed XAMP or WAMP server in (C:\wamp, open C:\wamp\www)for PHP working environment.
Step 3
Now you need to type the following command to create new Laravel project using composer.
Composer create project –prefer-dist laravel/laravel mylaravel
You can replace mylaravel with your desired project name.
Step 4
If you have done the steps mentioned above carefully and then you need to check whether it is properly working or not and for that, you need to test the installation by opening the following link in your browser.
Again if you want, then you can change or replace the mylaravel with your project name.
Laravel is utmost popular in this era and growing on a regular basis this beginner guide to install laravel windows will help you develop your skill on using framework correctly and become a master so that after completing this full beginner learning process you can build a gleaming attractive web application.