Laravel Herd made local PHP development on the Mac comfortable enough that few people want to go back to Docker or MAMP voluntarily. The problem: Herd is proprietary, commercially licensed, and only runs on macOS and Windows. Flock wants to fill exactly that gap — a fully open, free alternative that manages PHP, Node, databases, a mail catcher, and HTTPS certificates natively on your machine. No Docker, no VM, no account. I checked how far that promise actually holds up.
What Flock actually does
Flock is a single binary that runs as a small background service (the daemon). On top of it sit three layers: an embedded Caddy web server that passes requests to PHP-FPM (macOS) or a pool of php-cgi workers (Windows); an embedded DNS server that resolves every .test domain instantly, without touching your hosts file; and a local certificate authority for trusted HTTPS, whose root is strictly scoped to the local TLD. On top of that come shims for php, composer, node, npm, npx, and the database clients, which automatically pick up the version pinned to the current project.
Projects end up on a .test domain, either by “parking” a whole folder (every subfolder becomes its own site automatically) or by “linking” a single project. You drive the whole thing from a native app — a menu bar app on macOS, a tray app on Windows — or entirely from the CLI; both talk to the same daemon and stay in sync.
PHP versions, Node, and databases side by side
Flock installs PHP 8.1 through 8.5 side by side (on Windows also 7.4 and 8.0), with the common extensions built in and Xdebug one click away. The version is pinned per project via a .flockrc file that can be committed to the repo without issue — so everyone on the team automatically gets the correct PHP version without setting it up by hand. Node works the same way through .nvmrc.
The database selection is bigger than expected: PostgreSQL, MySQL, MariaDB, and MongoDB, plus Valkey, Redis, Meilisearch, Typesense, and RustFS as object storage. Everything ships as a signed, prebuilt binary — nothing gets compiled locally. A nice touch: if you want MySQL and MariaDB running at the same time, Flock automatically suggests an alternate port instead of just producing a conflict.
Dump viewer, mail catcher, log viewer
One detail that genuinely helps day to day: dump() and dd() output can be redirected straight into a dedicated Flock window, with zero changes to your project’s code. Instead of hunting debug output between the page and the terminal, it lands in a searchable timeline — including a jump straight to the relevant line in your editor (PhpStorm, VS Code, Cursor, and Zed are supported). Add a mail catcher for outgoing mail during development and a Laravel log viewer. None of this is reinventing the wheel, but it’s all built in, with no extra packages or .env lines you forget to remove later.
Not just Laravel
The name “Flock” and the landing page are clearly aimed at Laravel, but technically the tool isn’t limited to it: it serves any project with a public/index.php — so Symfony, Statamic, or Craft too — and falls back to serving the project folder itself for everything else (plain PHP, static sites). Other languages are on the roadmap; for now it stays a PHP tool.
The limitations worth knowing before switching
Three things that are in the docs but easy to miss:
- No Linux support. Flock runs on macOS 15 (Sequoia) or newer — and Apple Silicon only, Intel Macs are left out entirely. On Windows it requires 10 (version 2004 or newer) or 11, x64.
- Flock is still in beta (currently 1.0.0-beta.9). Worth factoring in for production-adjacent setups with many parallel projects — this isn’t a tool that’s had years to mature like Herd.
- It’s young: the GitHub repo shows a very active but short history. The community infrastructure (issues, discussions) exists but is naturally still small compared to established alternatives.
License and cost
Flock is licensed under AGPLv3 and completely free — no paid tier, no account, no mandatory telemetry. The AGPL choice is notably strict for a local development tool (it primarily kicks in for networked software), but it’s a non-issue here since you’re simply using the source yourself.
Verdict
Flock does exactly what it says on the tin: it brings the Herd feeling — pick a PHP version, link a project, open the .test domain, done — into an open, free package with a solid database and service selection. The dump viewer and the version-pinning files are the features that pay off the most day to day. If you’re on Apple Silicon or a current Windows build and would rather run open source than a proprietary app on your machine, this is a genuine alternative — provided you accept the beta status and go without Linux and Intel Macs for now.




