Modern App Scaffolding with the Laravel Installer
The Power of the Laravel Installer
Setting up a new project often feels like a chore, but the transforms this into a streamlined, interactive experience. While you can always rely on to pull in the framework, the dedicated installer acts as a sophisticated wizard. It manages the boilerplate so you can focus on building features. If you use , you already have this tool at your fingertips. Otherwise, a simple global installation via the command line gets you started.
Prerequisites
Before running your first command, ensure your environment meets these requirements:
- PHP 8.2+: The latest Laravel versions require modern PHP features.
- Composer: Essential for managing PHP dependencies.
- Database Driver: Knowledge of , MySQL, or PostgreSQL.
Interactive Project Scaffolding
When you execute the laravel new command, the installer initiates a conversation. It doesn't just copy files; it configures your entire stack based on your preferences.
# Start a new project named 'nexus'
laravel new nexus
You will choose between starter kits like for simple authentication or for robust team management. You also decide on your frontend stack— for TALL stack enthusiasts or with for those who prefer a single-page application feel.
Choosing Your Testing Strategy
Laravel prioritizes developer confidence. The installer asks whether you want to use or . While PHPUnit is the industry standard, Pest provides a highly readable, functional syntax that many modern developers prefer for its expressive nature.
Database and Migrations
Modern development increasingly favors for its simplicity. The installer can automatically create your database file and run your initial migrations. This means that within seconds of finishing the prompt, you have a fully functional application with a working login system and database schema.
Tips & Gotchas
- Latest Version Only: The installer always pulls the latest stable release (e.g., ). Use Composer directly if you need a specific legacy version.
- Git Initialization: The installer offers to initialize a repository for you, saving another manual step in your workflow.
- 15%· products
- 8%· products
- 8%· products
- 8%· products
- 8%· products
- Other topics
- 54%

The Laravel Ecosystem - Installer
WatchLaravel // 2:47
The official YouTube channel of Laravel, the clean stack for Artisans and agents. We will update you on what's new in the world of Laravel, from the framework to our products Cloud, Forge, and Nightwatch.