How to install Laravel 5.8 and create a project in laravel 5.8
Laravel uses Composer to manage all its dependencies. Composer Link: https://getcomposer.org/
So, before using Laravel, make sure you have already installed Composer on your System/machine.
Via Laravel Installer
First, you have to download the Laravel installer using Composer for to create a project or application direclty in laravel, so run below command to install laravel using Compeser.
Once installed your laravel, the laravel new command will create a fresh Laravel installation in the directory you show. Now, you can use a basic laravel command to create a laravel project installation in your specific folder.
Via Composer Create-Project
Alternatively, you may also install your Laravel by issuing the Composer with the command called create-project command in your terminal,
Local Development Server where we are checking that if your PHP is installed locally and you would like to use PHP's built-in development server to serve/start your laravel application, you can use the serve Artisan command as given below to run your laravel project. so, the development server will start at: http://localhost:8000:
So, now your laravel application is fully setup and you can use this application to create your new project with it. Happy Coding.