Lets get it straight. “You want to install Laravel”. With this tutorial, I am starting a Laravel series. My tutorials are short and to the point. So lets get started without any fuss.
Now that you have downloaded and installed Composer and Git, you can now start the Laravel installation process.
Installation of Laravel
- Extract Laravel to the xampp/htdocs folder. These are the installation files.
- Right click on the extracted folder and select Use Composer here. (this is why you installed shell menu with composer)
- A command prompt will open with composer settings. Also note that you will be at your extracted Laravel install
- Type the following command and press Enter. Downloading of Laravel assets will start.
1 composer install
Laravel is now installed. Now we will create a project.
Create a Project
- Go to Run and type cmd.
- Lets assume that the project we are making is called “codeonion“.
- Type the following command in cmd to make out project:
1 composer create-project laravel/laravel d:\xampp\htdocs\codeonion
- Wait for installation to finish.
A project named “codeonion” is made from Laravel installation. Lets test it.
Testing of new project
- Open your browser.
- Go to the following link
- If you see the following then the installation went ok
That is it! Laravel has been installed. In the coming tutorials, I will explain configuration of Laravel and then a project will be made.