Local development with Laragon
🪟
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
- Put the project into the
laragon/www/folder. - Laragon creates a virtual host
projectname.testfor each subfolder. - Click Start All to start the web server, MySQL and PHP.
- 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.