6. Install Laravel
― Open command prompt.
― Type composer and press
enter.
― Check if composer is
working. It should give a
output screen like this.
7. Install Laravel
― Go to htdocs directory
from cmd.
― In case of mine, I have
xampp server installed on
G:xampphtdocs
― Type g: and press enter.
― Then type
cd xampp/htdocs
8. Type the following command to
create a new Laravel 5 project:
Here, “project_name” is the desired project name.
It can be anything you want. Follow the next slide.
Create Laravel Project
composer create-project laravel/laravel project_name
9. Create Laravel Project
― Press enter. It will take
some time depending on
your internet connection.
― After installation, you will
see the success
message.
10. Create Laravel Project
― Open browser and enter
following address:
― In my case
“project_name” is
learnlaravel.
― It will take you to the
newly created Laravel
project.
https://localhost/project_name/public
11. Finished!
Congrats, you have successfully installed
LARAVEL 5
Note: This is one of the procedures to install Laravel. There are other ways to install it. For those,
check Laravel’s documentation on official website.