Laragon

Migrate from others

You can migrate from other environments to Laragon easily

The process is the same as migrating from XAMPP and WAMP to Laragon.

📁 Step 1: Copy Project Files

Copy all of your folders from your former Document Root directory to Laragon’s www directory:


Copy all folders from:
X:\PATH-TO-YOUR-FORMER-WWW
to:
C:\laragon\www

🛢️ Step 2: Copy Databases

1. Dump All Databases from WAMP

Start your environment, then open Laragon's Terminal (Menu > Laragon > Terminal) and run:


mysqldump.exe --all-databases > C:\laragon\tmp\alldb.sql

After the dump is complete, stop your environment (ie. MySQL).


2. Restore Databases to Laragon

Start Laragon, then run the following command in Laragon's Terminal:


mysql -u root -p < C:\laragon\tmp\alldb.sql

That's it. Your projects and databases should now be fully migrated to Laragon!