Steps for Installing Laravel
Three simple steps can be followed to install Laravel:
- install XAMPP to get PHP and MySQL.
- Download and install Composer.
- Install Laravel with Composer.
How to Install Laravel
1. Open the Terminal
Installing PHP and Composer makes it easy to get started with a Laravel project.

2. Create a Laravel Project
To create a new project under the my-app folder (or any other project name you choose), run the command below.
1 | composer create-project laravel/laravel my-app |
This will download all the necessary Laravel files for this project.
3. Start the Development Server
Following the creation of the application, use the following commands to launch your development server while coding into my-app:
1 | cd my-app
|
2 | php artisan serve |
4. Browse to Your New Laravel App
We are done setting up the environment. Your Laravel development server should be reachable at https://localhost:8000.

Next Steps
You've now successfully installed Laravel and launched your first application. But this is just the beginning! You can now learn how to create websites and applications using this robust and user-friendly framework.
Comments
Did this work for you, or did you hit something different? Leave a note.