BurrowGet Burrow
Reference

Command reference

Everything in the app is also a burrow command. Where a command takes a site, it defaults to the site for the folder you are in. The same reference is on the app's CLI page.

Sites

Serve a Laravel app at https://<name>.test.

burrow link [name]

Link a project (default: the current directory and its name).

--path <dir>Project path instead of the current directory
--php <version>Pin a PHP version for this site, e.g. 8.4
--insecureServe over plain HTTP instead of redirecting to HTTPS
cd ~/Code/shop && burrow link --php 8.4
burrow unlink <name>

Stop serving a site (the project is untouched).

burrow unlink shop
burrow sites

List linked sites with their URL, path and PHP.

burrow xdebug [on|off|status]

Step-debug a site with Xdebug. Only that site's requests load Xdebug; prints the VS Code launch.json and PhpStorm steps.

--site <name>Which site (default: the one in this folder)
burrow xdebug on
burrow ini [key=value...]

Show or change the site's PHP settings for web requests: memory_limit, upload_max_filesize (also post_max_size), max_execution_time, display_errors. key=default clears one.

--site <name>Which site (default: the one in this folder)
--resetClear every override
burrow ini memory_limit=1G upload_max_filesize=200M
burrow alias add <alias> [site]

Serve a site at another name too, e.g. shop-old.test (default: the site in this folder). Subdomains like admin.shop.test need no alias.

burrow alias add shop-old shop
burrow alias remove <alias>

Stop answering to an alias.

burrow alias list

List every site's aliases.

burrow proxy add <name> <port>

Serve a local server (Node, Go, a Docker port) at https://<name>.test with trusted HTTPS; WebSockets work too.

--insecureServe over plain HTTP instead of redirecting to HTTPS
burrow proxy add api 3000
burrow proxy remove <name>

Stop forwarding a name.

burrow proxy list

List forwarded names and their ports.

burrow health [site]

Check a site for common problems: .env, APP_KEY, APP_URL, Docker hostnames, stopped services, pending migrations, PHP version. Fix them from the site's Health tab.

burrow health shop
burrow artisan <args…>

Run php artisan for the site in the current folder with its PHP; interactive commands like tinker work.

--site <name>Another site instead of the current folder's
burrow artisan --site shop migrate --seed
burrow status

Show what the running daemon serves: sites, PHP, services.

PHP

Static PHP builds; each version runs its own FPM pool.

burrow php list

Installed versions.

burrow php available

Versions you can install.

burrow php install <version>

Install a version, or update it to the newest patch.

burrow php install 8.4
burrow php remove <version>

Remove an installed version.

burrow php remove 8.3
burrow php verify [version]

Check installed binaries are unchanged since install (default: every installed version).

burrow php security

Security fixes (CVE / GHSA) released on php.net after your installed PHP, and whether a newer build can be installed.

Services

Databases, cache and mail: mysql, postgres, mariadb, mongodb, redis, mailpit, meilisearch, typesense or rustfs.

burrow service list

Every service: versions, installed, enabled, port.

burrow service install <service>

Download and verify a service's binaries.

--version <v>Version (default: newest in the catalog)
burrow service install mysql
burrow service enable <service>

Start it with the daemon (applies at once if burrowd runs).

--version <v>Version
--port <port>Port (default: the service's standard port)
--ui-port <port>Web UI port (mailpit, rustfs console)
burrow service enable redis
burrow service disable <service>

Stop starting it with the daemon.

burrow service pgvector [on|off|status]

pgvector for PostgreSQL. on builds it from source for the selected version (needs make and a C compiler); off removes it, refusing while a database uses it.

burrow service pgvector on
burrow service env <service>

Print the Laravel .env lines for a service.

--database <name>DB_DATABASE value (default: laravel)
burrow service env mysql --database shop >> .env

Databases

burrow db create <name>

Create a database on a running SQL service (no-op if it exists).

--service <mysql|postgres|mariadb>Which server (default: mysql)
burrow db create shop
burrow db list

List databases.

--service <mysql|postgres|mariadb>Which server (default: mysql)
burrow db open [database]

Open a database (default: the server overview) in phpMyAdmin (MySQL) or Adminer (PostgreSQL), installing the tool the first time. Served at https://phpmyadmin.test and https://adminer.test, signed in already.

--service <mysql|postgres|mariadb>Which server (default: mysql)
--printPrint the address instead of opening a browser
burrow db open shop
burrow db admin <list|install|remove> [phpmyadmin|adminer]

Manage the database tools.

burrow db admin install adminer
burrow db snapshot <database>

Save a snapshot of a database, e.g. before a migration or after seeding.

--name <name>Snapshot name (default: the current UTC time)
--service <mysql|postgres|mariadb>Which server (default: mysql)
burrow db snapshot shop --name seeded
burrow db restore <database> [name]

Replace a database with one of its snapshots (default: the newest). Tables created since are removed. The current state is snapshotted first (Settings → Backups).

--service <mysql|postgres|mariadb>Which server (default: mysql)
--yes, -yDon't ask for confirmation
--no-snapshotDon't snapshot the current state first
burrow db restore shop seeded
burrow db snapshots <database>

List a database's snapshots.

--delete <name>Delete that snapshot
--service <mysql|postgres|mariadb>Which server (default: mysql)
burrow db export [database...]

Export databases into one .zip of plain SQL. Streams, so any size works. Default: every database on every running server.

--out, -o <file.zip>Output file (default ./databases-<date>.zip)
<database>shop (MySQL) or postgres/shop; repeat for several
burrow db export shop postgres/blog --out ~/backups/dbs.zip
burrow db import <file.zip>

Import dumps from a .zip. Asks, for each, which database to load it into: an existing one (its tables are replaced), a new name, or - to skip.

--into <dump=database>Answer without asking, e.g. shop=shop_copy or postgres/blog=blog; repeatable
--yes, -yImport every dump into a database of the same name
--no-snapshotDon't snapshot databases being replaced first (Settings → Backups)
burrow db import dbs.zip --into shop=shop_copy

Node.js and tools

burrow node list

Installed Node.js versions.

burrow node available

Versions you can install: the LTS lines and the newest major.

burrow node install [major]

Install the newest release of a major (default: newest LTS).

burrow node install 24
burrow tool composer

Install or update Composer.

burrow tool laravel

Install or update the Laravel installer (needs PHP and Composer).

burrow shims

(Re)create the php, composer, laravel, node, npm and npx shims.

burrow env

Print the PATH line that puts burrow's php, composer, node… first. Use it per shell when another tool (yerd) owns PATH.

eval "$(burrow env)"

Setup

One-time host integration. Every step can be checked first and undone.

burrow setup

.test DNS, ports 80/443, trusted HTTPS, PATH and the login service. Prints one sudo command for the root parts.

--dry-runShow what would change, change nothing
--keep-portsSide by side with yerd: stay on 8180/8543, leave PATH alone
--undoReverse the setup
burrow setup --dry-run
burrow setup export [file]

Write the whole setup (PHP and Node versions, services, sites with their workers and PHP settings, proxies, TLD; no secrets) to a file, or print it.

--with-databasesWrite a .zip with every database dump and the setup
burrow setup export ~/burrow-setup.json
burrow setup import <file>

Recreate a setup from a .json (or a .zip with databases): shows the plan, asks, then installs PHP, Node and services and links the sites whose folders exist.

--planOnly show the plan
--path-from <dir> --path-to <dir>Projects live in another folder here, e.g. /home/a/Code → /home/b/Code
--yes, -yDo not ask for confirmation
burrow setup import burrow-setup.json --path-from /home/a/Code --path-to ~/Code
burrow uninstall [--remove-data] [--backup <file>] [--no-backup]

Remove Burrow: stop everything and undo the setup (.test addresses, ports 80/443, the trusted certificate, PATH, starting at login). Lists every step and asks first. Your sites, databases and settings stay unless you pass --remove-data. The app is removed last, by you.

--remove-dataAlso delete PHP, services, databases and settings
--backup <file>With --remove-data: back up every database there first (default ~/burrow-databases-<date>.zip)
--no-backupWith --remove-data: skip the backup
--dry-runOnly list the steps
--yesDo not ask for confirmation
burrow uninstall --remove-data --backup ~/burrow-databases.zip
burrow report [--out <file>] [--lines <n>] [--no-config] [--no-logs] [--hide-names]

Write a .zip for a problem report: Doctor's checks, versions, burrow status, settings without passwords or tokens, and the last lines of every log. Works while burrowd is down. Never includes .env files.

--out, -oWhere to write it (default ~/burrow-report-<date>.zip)
--linesLast lines of each log: 200 (default), 1000 or 5000
--no-configLeave out burrow.toml
--no-logsLeave out service, PHP and worker logs (burrowd's log stays)
--hide-namesReplace site names and folders with site-1, site-2…
burrow report --hide-names

Queues, scheduler and Vite

Background workers per site, kept running by burrowd (also after a restart) until stopped. [site] defaults to the site for the current folder.

burrow queue start [site]

Start php artisan queue:work for the site. Options are saved, so later starts reuse them.

--connection <name>Queue connection from config/queue.php (default: QUEUE_CONNECTION)
--queue <a,b>Queues in priority order, e.g. high,default
--processes <n>Worker processes, 1-8
--tries <n>Attempts before a job fails (0 = forever)
--timeout <s>Seconds a job may run (keep below retry_after)
--backoff <s|1,5,10>Wait before retrying a failed job
--sleep <s>Wait when the queue is empty
--rest <s>Pause between jobs
--memory <MB>Restart a worker above this memory
--max-jobs <n>Restart a worker after n jobs
--max-time <s>Restart a worker after s seconds
--forceWork even in maintenance mode
--listenUse queue:listen (reloads code per job; slower); --work switches back
--resetForget saved options first
burrow queue start skuul --connection=redis --queue=high,default --tries=3
burrow queue stop [site]

Stop the workers; a running job finishes first.

burrow queue restart [site]

Restart the workers, e.g. after changing job code.

burrow queue status [site]

State, command and PHP of the queue workers and scheduler.

burrow queue log [site]

The workers' output.

--lines, -n <n>How many lines (default 50)
burrow queue failed [site]

List failed jobs (queue:failed).

burrow queue retry [site]

Retry all failed jobs (queue:retry all).

burrow queue flush [site]

Delete all failed jobs (queue:flush).

burrow queue clear [site]

Delete the jobs waiting on the queue (queue:clear).

burrow schedule start [site]

Run php artisan schedule:work: scheduled tasks run every minute, like cron.

burrow schedule stop [site]

Stop the scheduler.

burrow schedule status [site]

Is the scheduler running.

burrow schedule log [site]

The scheduler's output.

--lines, -n <n>How many lines (default 50)
burrow vite start [site]

Run npm run dev with hot reload over HTTPS on <site>.test, using Burrow's trusted certificate (no browser warnings, no mixed content).

burrow vite start shop
burrow vite stop [site]

Stop it; pages use the built assets again.

burrow vite status [site]

Is the Vite dev server running.

burrow vite log [site]

Vite's output.

--lines, -n <n>How many lines (default 50)
burrow dumps start [site]

Capture dump() / dd() from pages, jobs and commands into Burrow instead of the page.

burrow dumps start shop
burrow dumps stop [site]

Stop capturing; dumps show in the page again.

burrow dumps log [site]

The captured dumps, with file, line and request.

--lines, -n <n>How many lines (default 100)
burrow reverb start [site]

Run Laravel Reverb; browsers connect to wss://<site>.test/app through Burrow with the site's trusted certificate.

burrow reverb start shop
burrow reverb stop [site]

Stop Reverb.

burrow reverb status [site]

Is Reverb running.

burrow reverb log [site]

Reverb's output.

--lines, -n <n>How many lines (default 50)
burrow horizon start [site]

Run Laravel Horizon (use it instead of plain queue workers).

burrow horizon stop [site]

Stop Horizon (running jobs finish first).

burrow horizon status [site]

Is Horizon running.

burrow horizon log [site]

Horizon's output.

--lines, -n <n>How many lines (default 50)

Migrate (optional module)

Move over from yerd or Herd / Valet. The source is only read; nothing in it changes until you choose --switch.

burrow migrate [yerd|herd|valet]

Show the plan (default source: yerd), ask, then install the same PHP / Node / Composer, run the services, copy the databases (keeping a .zip) and link the sites.

--planOnly show the plan
--herd-dir <dir>A Herd / Valet config folder (config/valet), e.g. copied from a Mac
--yes, -yDo not ask
burrow migrate --plan
burrow migrate --switch

Make burrow primary: copy the latest data, stop yerd, move burrow's services and sites onto yerd's ports, put burrow on PATH.

--no-copySkip copying the latest data first
burrow migrate --switch

Share (optional module)

Put sites on public HTTPS links through your ngrok account. Several sites can be shared at once, each on its own link (ngrok's free plan allows 3); your saved domain goes to the first one, the others get random URLs. A share stops by itself after its time limit.

burrow share [site]

Share a site (default: the one for the current folder) and print its public URL and a QR code.

--for <minutes>Stop after this long (default 60)
--no-limitKeep sharing until you stop it
--auth <user>Ask visitors to log in (you'll be asked for a password)
burrow share skuul --for 30
burrow share status

Each shared site's public URL, time left and latest requests.

burrow share stop [site]

Stop sharing a site, or every shared site when none is named.

burrow share stop skuul
burrow share token

Save or replace your ngrok authtoken (typed without echo, or piped in).

--clearRemove the saved token
burrow share domain [domain]

Show, set or change your free ngrok domain, so the link stays the same. It serves one site at a time.

--clearRemove it (shares get a random URL)
burrow share domain your-name.ngrok-free.app

Resources

How much CPU and memory everything Burrow runs uses, and stopping services nobody is using. The app's Resources page shows the same, with 10-minute history.

burrow top [--watch]

CPU and memory of every service, PHP version and worker, heaviest first.

--watch, -wRefresh every 5 seconds until Ctrl-C
burrow top --watch
burrow idle [--after <minutes>] [--keep <services>]

Stop services unused for a while; they start again on the next request to a site that needs them. Without flags, shows the setting.

--after0 (off), 30, 60, 120 or 240 minutes
--keepServices never to stop, comma-separated (--keep "" clears)
burrow idle --after 60 --keep postgres
burrow logs [--max-mb <n>] [--keep <n>] [--clear]

How big Burrow's own logs (services, PHP-FPM, workers) may grow. A log past the limit is copied aside and emptied. Without flags, shows the limits and the space used.

--max-mbRotate a log past 5, 10, 50 or 100 MB (default 10)
--keepOld copies kept per log: 1, 2 or 5 (default 2)
--clearDelete every old copy now
burrow logs --max-mb 50 --keep 1

AI agents (MCP)

Let Claude Code, Cursor, VS Code or Zed see your sites, logs, dumps, requests and health checks. Agents can only read until you allow changes (here or in Settings → AI agents).

burrow mcp

The MCP server itself (stdio). Your AI client starts it; you don't run it by hand.

claude mcp add burrow -- burrow mcp
burrow mcp config [client]

Print how to add Burrow to an AI client: claude, cursor, vscode or zed (default: all).

burrow mcp config cursor
burrow mcp allow [--changes true|false] [--destructive true|false]

Show or change what agents may do. Without flags, shows the current permissions.

--changesStart/stop services, restart PHP, run Artisan, apply health fixes, toggle Xdebug, control workers, take snapshots
--destructiveAlso run Artisan commands that wipe or rewrite data (migrate:fresh, db:wipe, db:seed, --force…)
burrow mcp allow --changes true

Daemon

burrowd serves DNS, HTTP/HTTPS, PHP-FPM and services. The tray menu can start, stop and restart it too.

systemctl --user status burrowd

Linux: is it running (after burrow setup).

systemctl --user restart burrowd

Linux: restart it.

journalctl --user -u burrowd -f

Linux: follow its log.

launchctl print gui/$(id -u)/dev.burrow.burrowd

macOS: is it running (after burrow setup).

launchctl kickstart -k gui/$(id -u)/dev.burrow.burrowd

macOS: restart it.

tail -f ~/Library/Logs/burrowd.log

macOS: follow its log.

burrowd serve

Run it in the foreground instead (without the service).

Environment variables

BURROW_HOME

Where burrow keeps everything (default ~/.local/share/burrow).

BURROW_PHP_MIRROR

A different PHP download source. Default: Burrow's own builds (with intl); https://dl.static-php.dev/static-php-cli/common uses static-php's.

↑ ↓ to moveEnter to openEsc to close