laravel new

Creating an Application with laravel new

Laravel 2,157 's installation guide recommends the installer, laravel new <name>; the older composer create-project laravel/laravel <name> gives only the bare skeleton. Here is the bookshop created for real, with --no-boost to skip Laravel Boost 3,631 , an optional package outside this book's scope that the installer otherwise adds:

Creating the bookshop applicationPHP
laravel new bookshop --no-boost
Output
 ┌ Do you want to use a starter kit? ───────────────────────────┐
 │ ○ Yes / ● No                                                 │
 └──────────────────────────────────────────────────────────────┘
 ┌ Which frontend stack do you want to build on? ───────────────┐
 │ › ● Blade                                                    │
 │   ○ React                                                    │
 │   ○ Svelte                                                   │
 │   ○ Vue                                                      │
 │   ○ Livewire                                                 │
 └────────────────────────── No additional frontend scaffolding ┘
...
 Created project in /home/dev/bookshop
   ✔ Application installed
   ✔ Application initialized
   ✔ Database migrated
   ✔ Pest initialized
   ✔ Test code style fixed
   ✔ Packages installed
...

Installer 5.32 asks only about the frontend; Blade without a starter kit is this chapter's base, and Authentication covers the kits. Behind the ticks, it generated .env and the APP_KEY that encrypts cookies and sessions, created database/database.sqlite and migrated it, swapped PHPUnit 12.5.35 79,198 for Pest 5.2.1 on PHPUnit 13.3.4, and built the frontend. Every answer also has a flag, such as --database=mysql or --react; laravel new --help lists them.