Local development with Laragon

M↓

🪟

Windows-native local PHP stack.

Laragon is a fast, lightweight, and easy-to-use local development environment for Windows. It includes Apache or Nginx, MySQL, PHP, Redis, Memcached, and Node.js.

Laragon is an open source, portable, isolated development environment for Windows. It runs services natively without virtualization and comes with a simple GUI to manage your local stack.

Free and open source with options to upgrade (nagware).

Installation

Download the installer from laragon.org and run it. Laragon installs in a self-contained folder and starts its services through a system tray GUI.

Example usage

  1. Place your project files in the laragon/www/ directory.
  2. Laragon automatically creates a local virtual host (projectname.test) for each subfolder.
  3. Click Start All in the Laragon GUI to start Apache/Nginx, MySQL, and PHP.
  4. Visit http://projectname.test in your browser.

Connecting to fortrabbit

Laragon provides a local PHP and Git environment you can use to deploy to fortrabbit. Make sure Git and Composer are available in your shell (Laragon bundles both). From the Laragon terminal, follow the standard fortrabbit deployment workflow.

Found a tpyo?Edit