BurrowGet Burrow
Everyday use

Services

Burrow downloads and runs the services Laravel apps use. Each one starts with Burrow and keeps running until you turn it off. Everything listens on 127.0.0.1 only.

Service Version Port For
MySQL 8.4 3306 DB_CONNECTION=mysql, user root, no password
PostgreSQL 18 or 17 5432 DB_CONNECTION=pgsql, user postgres, no password; optional pgvector
MariaDB 12.3 3307 DB_CONNECTION=mariadb, user root, no password
MongoDB 9.0 27017 DB_CONNECTION=mongodb, with mongodb/laravel-mongodb
Redis (Valkey) 9.1 6379 cache, sessions, queues, Horizon
Mailpit 1.33 1025 (SMTP), 8025 (inbox) catching mail
Meilisearch 1.56 7700 Laravel Scout
Typesense 30.2 8108 Laravel Scout
RustFS (S3) 1.0 9000 (S3), 9001 (console) Laravel's s3 disk

Every download is checked against a pinned SHA-256 before it is used.

Turn a service on#

Open Services in the app. Each card shows the version and port, an Install button, then Start / Stop and a Start with burrow switch. Or:

burrow service install mysql
burrow service install postgres --version 17   # default: the newest in the catalog
burrow service enable mysql
burrow service disable mysql
burrow service list

A service that is enabled starts again whenever Burrow starts; disable stops that. Its data stays in Burrow's folder when you stop it.

If a service keeps restarting, its card says why: the program already using its port, or the last error line in its log.

Connect your app#

Each service card has Show .env lines and Copy .env lines, with everything your .env needs for that service. Or print them:

burrow service env mysql --database shop
burrow service env redis
burrow service env rustfs --database uploads     # the bucket name

The --database value becomes DB_DATABASE (or MONGODB_DATABASE, or the bucket for RustFS); it defaults to laravel.

Databases: MySQL, PostgreSQL, MariaDB#

A running database card lists its databases, lets you create one, open it in a database tool and take snapshots. See Databases & backups.

MariaDB runs on port 3307, so it can run beside MySQL. Use Laravel's mariadb connection:

DB_CONNECTION=mariadb
DB_HOST=127.0.0.1
DB_PORT=3307
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

pgvector for PostgreSQL#

pgvector adds vector similarity search to PostgreSQL, for AI features such as embeddings and semantic search. Turn it on with Enable in the pgvector row of the PostgreSQL card, or:

burrow service pgvector on       # build and install it
burrow service pgvector status   # on or off
burrow service pgvector off      # remove it

Then enable it in each database that uses it:

CREATE EXTENSION vector;

Good to know:

  • There are no ready-made pgvector builds for Burrow's PostgreSQL, so Burrow downloads pgvector's source (0.8.7, checksum-verified) and compiles it on your computer. That needs make and a C compiler: sudo apt install build-essential on Ubuntu, xcode-select --install on a Mac. It takes about a minute.
  • It belongs to one PostgreSQL version. After switching between PostgreSQL 17 and 18, enable it again.
  • Disable (or off) refuses while a database still uses the extension. Run DROP EXTENSION vector; there first; note that this drops the database's vector columns.

MongoDB#

Laravel talks to MongoDB through the mongodb/laravel-mongodb package (composer require mongodb/laravel-mongodb). The mongodb PHP extension it needs is already part of Burrow's PHP builds. The .env lines are:

DB_CONNECTION=mongodb
MONGODB_URI=mongodb://127.0.0.1:27017
MONGODB_DATABASE=laravel

Redis (Valkey)#

Redis is provided by Valkey, an open-source, Redis-compatible server. Laravel's redis driver works with it unchanged, with REDIS_HOST=127.0.0.1 and REDIS_PORT=6379. The redis PHP extension is included.

Catching mail with Mailpit#

With Mailpit on and your .env pointed at it (MAIL_MAILER=smtp, MAIL_HOST=127.0.0.1, MAIL_PORT=1025), every email your app sends lands in Mailpit's inbox instead of being delivered. Press Open inbox on the card, or use the tray menu (Mail inbox (Mailpit)). The inbox is at http://127.0.0.1:8025.

Search: Meilisearch and Typesense#

Both work with Laravel Scout; install Scout and the client for the engine you pick.

  • Meilisearch runs in development mode, so it needs no key (MEILISEARCH_KEY stays empty). Open dashboard on the card opens Meilisearch's built-in dashboard, where you can browse and search your indexes.
  • Typesense uses the API key burrow (TYPESENSE_API_KEY=burrow).

The .env lines set SCOUT_DRIVER and the host and port for you.

File storage: RustFS (S3)#

RustFS is an S3-compatible object store, so you can test uploads to Laravel's s3 disk locally. It replaces MinIO, whose open-source server is no longer maintained.

  1. Start RustFS and press Open console (http://127.0.0.1:9001/rustfs/console/).
  2. Sign in with burrow / burrow-secret. These are also the S3 keys.
  3. Create the bucket first, with the name you use for AWS_BUCKET (default laravel). Uploads fail until it exists.
  4. Install the S3 driver in your app: composer require league/flysystem-aws-s3-v3.

The .env lines use a path-style endpoint, which RustFS needs:

FILESYSTEM_DISK=s3
AWS_ACCESS_KEY_ID=burrow
AWS_SECRET_ACCESS_KEY=burrow-secret
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=laravel
AWS_ENDPOINT=http://127.0.0.1:9000
AWS_URL=http://127.0.0.1:9000/laravel
AWS_USE_PATH_STYLE_ENDPOINT=true

Other ports and versions#

Choose a different port or version from the terminal:

burrow service enable postgres --version 17 --port 5433
burrow service enable mailpit --ui-port 8026      # Mailpit's inbox, RustFS's console

On macOS#

On a Mac with Apple Silicon, every service except MariaDB is available (MariaDB publishes no macOS builds). Valkey publishes no macOS builds either, so Burrow builds it. pgvector works too, once the Xcode command line tools are installed (xcode-select --install). A service that isn't offered on your computer says so when you try to install it.

↑ ↓ to moveEnter to openEsc to close