Snippets > Laravel Quick Start
#command-line#composer#laravel#php
Install Laravel and spin up a server using Composer and Windows Command Prompt.
Run the following commands in Windows Command Prompt from your local projects directory:
composer create-project --prefer-dist laravel/laravel project-name
cd project-name
php artisan serve
Open a browser at http://127.0.0.1:8000 to see your new install.
Alternatively, globally install the Laravel Installer:
composer global require laravel/installer
And create new projects like this:
laravel new project-name
cd project-name
php artisan serve