How to install laravel 8
How to install laravel 8
In this tutorial, you will be learning how to install laravel so, to install laravel we require a composer.
Composer is a PHP Dependency manager. so, first download and install your composer from the link https://getcomposer.org/
If you have already installed composer, check with the given below command in the terminal:
Method 1: Lets, install the Laravel Installer as a global Composer dependency on our system, so open your terminal and execute the following command:
This above command will take few minutes to exexute, so after successful installation above command, lets create a Laravel Application.
This command will create a project of the Latest Version of Laravel application by following command:
Method 2: Let's install Laravel 8 Via Composer with specific version as following command:
After successful execution of above command, laravel project creation, open terminal and go to the laravel project path and give a command to run the application as follows:
Output on your browser at: http://localhost:8000