Skip to content
← All solutions
Laravel logo

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
ComponentTypical role
PHPRuns the Laravel application.
ComposerInstalls PHP dependencies.
MySQL / PostgreSQLStores application data.
RedisMay support cache, sessions, or queues.
Nginx / Apache / CaddyServes the local project.
Node.jsMay 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.

  1. 1Follow the Laravel documentation for project installation and supported versions.
  2. 2Select the PHP version required by the project.
  3. 3Start MySQL or PostgreSQL when the application uses a database.
  4. 4Add Redis and frontend tooling when the project configuration needs them.
  5. 5Add the project, local domain, web server, and HTTPS configuration in FlyEnv.
  6. 6Group related services when starting the full local stack together is useful.
Read the Laravel guide

Ready to run Laravel locally?

Use FlyEnv to manage the runtimes, databases, web servers, and services around your local Laravel environment.

Download FlyEnv

Have questions using FlyEnv?