Local development with Laragon

Published

Updated

Reviewedbyfl

🪟

Windows-native local PHP stack.

Laragon is a portable local development environment for Windows. It runs Apache or NGINX, MySQL, PHP and Node.js natively and creates a .test domain for every project folder.

Laragon runs its services without virtualization and installs into one self-contained folder. Composer and npm come bundled.

Without a license, Laragon is allowed for non-commercial use only and shows a license reminder. Commercial use needs a paid license, per year or with five years of updates.

Installation

Download the installer from laragon.org and run it. Laragon starts its services from a system tray app.

Usage

  1. Put the project into the laragon/www/ folder.
  2. Laragon creates a virtual host projectname.test for each subfolder.
  3. Click Start All to start the web server, MySQL and PHP.
  4. Open http://projectname.test.

Working with fortrabbit

Use git and Composer from the Laragon terminal and deploy as usual, see deployment. Set up an SSH key for SSH and SFTP access to the environment.

Frequently asked

Is Laragon open source?

No. The Laragon repository on GitHub has no open source license. Laragon is free for non-commercial use with a license reminder; commercial use needs a paid license.

#

Written by a human. Review, grammar checks and typo fixes by AI.

AI use & editorial processEdit on GitHub ↗