BurrowGet Burrow
The app

Move your setup

One file with your PHP and Node.js versions, services, sites and their workers, to set up a new laptop or a teammate's in one go. Importing shows exactly what it will do first.

Export#

In the app, open Settings → Move this setup and press Export setup…. Tick Include databases to also put every database in the file (it becomes a .zip instead of a .json). From a terminal:

burrow setup export ~/burrow-setup.json
burrow setup export ~/burrow-setup.zip --with-databases
burrow setup export                        # print it instead of writing a file

What's in the file#

Included Not included
Installed PHP versions and the default Secrets: your ngrok authtoken, visitor logins
Installed Node.js versions and the default Your projects' code and .env files
Services you have turned on, with their version and ports Services that are installed but not turned on
Linked sites: name, folder, PHP version, HTTPS, aliases Ports for dumps and Reverb (the new computer picks free ones)
Each site's queue options and whether its scheduler, Vite, Reverb, Horizon and dump capture run Databases, unless you choose Include databases
Each site's PHP settings (such as memory_limit)
Proxies, the .test domain, and your reserved ngrok domain

The file is plain JSON, so you can read it before sending it to anyone.

Import#

Copy your projects to the new computer first (for example with git clone), install Burrow and run burrow setup. Then open Settings → Move this setup, press Choose file… and pick the .json or .zip. Burrow shows the plan: every step it will run, and every step it will skip and why. Press Import setup to run it.

burrow setup import burrow-setup.json --plan     # only show the plan
burrow setup import burrow-setup.json            # show the plan, ask, then run it
burrow setup import burrow-setup.zip -y          # don't ask

Importing installs the PHP and Node.js versions, turns on the services, links the sites with their workers and settings, and adds the proxies.

Projects in another folder#

If your projects live somewhere else on the new computer, give both folders. In the app, fill in Folder in the file and Folder here before choosing the file. In a terminal:

burrow setup import burrow-setup.json --path-from /home/anna/Code --path-to ~/Code

Every site under the first folder is then looked for under the second one.

What the plan skips#

Importing never overwrites what is already there:

  • A site whose folder doesn't exist on this computer, or isn't a Laravel app, is skipped. Copy the project, or remap the folder, and import again.
  • A site or proxy name already in use here is skipped; aliases already in use are left out.
  • PHP and Node.js versions already installed, and services already turned on, are left as they are.
  • A service this computer can't run (for example MariaDB on a Mac) is skipped.
  • A port that is taken here is moved: the service uses the next free port, and the plan says which. Update the port in that project's .env.
  • A different .test domain in the file is applied, and the plan reminds you to run burrow setup afterwards.
  • Databases from a .zip are only loaded into databases that don't exist yet; existing ones are left as is.

You can import the same file again at any time: steps that are already done are skipped.

↑ ↓ to moveEnter to openEsc to close