anvil creates a git worktree, links it to Herd, scaffolds the database, and runs composer install. One command.
It's built for parallel work. Each branch gets its own isolated copy of the repo with its own database, its own Herd URL, its own .env. Nothing collides. When you're done, anvil removes the worktree, drops the database, and unlinks Herd — no half-cleaned state.
The sync command rebases or merges from upstream with automatic stash management, so swapping between branches doesn't lose work. Configuration lives in three layers: project YAML committed to git, worktree YAML for team config, and local state files that stay gitignored.
Built in Go. Installs via Homebrew or go install. Integrates with Herd, Valet, and 1Password CLI.