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 http://127.0.0.1:8000.
That's it. Your first laravel project installation is done.
Hope this might help you in the development journey.