Frameworks solution
Run Laravel Locally with FlyEnv
Laravel projects commonly combine PHP, a database, a web server, and optional services such as Redis. FlyEnv manages that local environment around the application on Windows, macOS, and Linux.
Local project stack
Services FlyEnv can manage around Laravel
- PHP
- Composer
- MySQL / PostgreSQL
- Redis
- Nginx / Apache / Caddy
- Node.js
About Laravel
Laravel is a PHP framework for building web applications and APIs.
Project resources
For installation commands, supported versions, and project-specific configuration, refer to the official Laravel documentation.
Typical local stack
The exact services depend on the project, its release, and its local configuration. This is a common local setup, not a fixed requirement.
- PHP
- Composer
- MySQL / PostgreSQL
- Redis
- Nginx / Apache / Caddy
- Node.js
| Component | Typical role |
|---|---|
| PHP | Runs the Laravel application. |
| Composer | Installs PHP dependencies. |
| MySQL / PostgreSQL | Stores application data. |
| Redis | May support cache, sessions, or queues. |
| Nginx / Apache / Caddy | Serves the local project. |
| Node.js | May build frontend assets. |
How FlyEnv helps
Match PHP versions
Keep each project on the PHP version it targets.
Choose the database
Run MySQL or PostgreSQL alongside the application.
Add Redis when needed
Keep cache, session, or queue services close to the project.
Use a local domain
Serve the project through a readable address and local HTTPS.
Set up the local environment
Project installation stays with the upstream documentation. FlyEnv manages the runtimes, databases, web servers, and supporting services around it.
- 1Follow the Laravel documentation for project installation and supported versions.
- 2Select the PHP version required by the project.
- 3Start MySQL or PostgreSQL when the application uses a database.
- 4Add Redis and frontend tooling when the project configuration needs them.
- 5Add the project, local domain, web server, and HTTPS configuration in FlyEnv.
- 6Group related services when starting the full local stack together is useful.
Related solutions
Ready to run Laravel locally?
Use FlyEnv to manage the runtimes, databases, web servers, and services around your local Laravel environment.