Menü schliessen
Created: May 6th 2021
Last updated: May 21st 2021
Categories: IT Development,  Laravel
Author: Marcus Fleuti

Laravel: create new Laravel application via Composer

Requirements

You need to make sure that PHP and Composer is installed on your local machine if you want to install your Laravel application in this way. There are other ways to create a new Laravel application. I am going to show the creation via Composer.

Installation with Composer

Run the commands below to create your plain Laravel application. With the Artisan serve command you are going to run the application from your localhost.

composer create-project laravel/laravel test-app
cd test-app
php artisan serve