Laravel Installation
Published in
1 min readMay 1, 2020
In this post we will learn how to install laravel and create new laravel project. To install Laravel first of run this command in terminal.
composer global require laravel/installer
Then to create project run this command
laravel new <project-name>
or
composer create-project --prefer-dist laravel/laravel <project-name>e.g.
laravel new blog
or
composer create-project --prefer-dist laravel/laravel blog
Then after installation, navigate to project directory and run below command to run your project
php artisan serve
This will run your project and create url for us. Navigate to the url http://127.0.0.1:8000 in the browser
We will get our project up and running.
FYI: You can find more details about installation in the link below https://laravel.com/docs/7.x#installation