How to Installation Laravel

Visit the following URL and download composer to install it on your system.https://getcomposer.org/

After the Composer is installed, check the installation by typing the Composer command in the command prompt as shown in the following screenshot.

Via Composer Create-Project Alternatively, you may also install Laravel by issuing the Composer create-project command in your terminal.

composer create-project --prefer-dist laravel/laravel blog

Local Development Server If you have installed PHP locally and would like to use the built-in PHP development server to run your application, you may use the serve Artisan command. This command will start the development server at http: // localhost: 8000:

php artisan serve

Let us execute this example by the following URL in the browser. This URL may be different based on your website.

http://localhost/blog