Install Laravel 9 project in localhost

Install Laravel 9 project in localhost

K. M. Shawkat Zamil | December 22, 2022

Hello developers,


Today I have come up with the process of installing laravel 9 project on your local machine. You can learn from the official documentation, but if you follow our blog site, I can assure you that you can learn laravel without any hassle.


Before installing laravel, your PC needs PHP and Composer. You can download the composer from Here. After installation is done, you can create a laravel project via create-project command. The command is given below:


composer create-project laravel/laravel example-app


There is another process. you can install a new laravel project by globally installing the laravel installer via composer. The code is given below: 


composer global require laravel/installer
laravel new example-app


After installation is completed, you need to start the server to run your laravel project. For that just type the below code in the command prompt in the laravel project directory.


cd example-app
php artisan serve


Once you have started the Artisan development server, your project will serve at That's it. Your first laravel project installation is done.


Hope this might help you in the development journey.


Read More: How to Add or Remove characters from a string


K. M. Shawkat Zamil

K. M. Shawkat Zamil

Senior Software Engineer

I am a Senior Software Engineer in a reputed company in Bangladesh. I am a big fan of Laravel, PHP Programming, MSSQL Server, MySql, JavaScript, and lots more. I love to help people who are especially eager to learn. I believe in patience and motivation.