flock Flock home

Your Laravel stack. Running natively.

Flock runs PHP, Node, databases, mail, trusted HTTPS and many other services natively on Windows, macOS and Linux. No Docker, no virtual machine.

Free and open source · 418 stars on GitHub · Windows 10+, macOS 15+ and Linux

01 · Features

Everything Laravel needs. Nothing it doesn't.

One small native app and a CLI. No containers to build, no config files to edit.

https://acme.test
https://tenant1.acme.test
https://api.acme.test

.test domains with real HTTPS

Park a folder to give every project in it a .test domain, or link a single project from anywhere. Subdomains included, and HTTPS works out of the box with no browser warnings.

PHP 8.5 acme, shop
PHP 8.4 blog
PHP 8.2 legacy

A PHP version per project

Every PHP from 8.1 to 8.5, side by side. Isolate a project to any of them, and switch whenever you like.

PostgreSQL 18
Valkey 9.1
Meilisearch

Databases in one click

PostgreSQL, MySQL, MariaDB, MongoDB, Redis and more, as native processes that start with your computer.

Welcome to Acme, Jamie! now
Reset your password 14m
Order #1042 confirmed 1h

Every email, caught

Mail goes to a local inbox, one per app, with HTML preview and attachments. Nothing reaches real people.

OrderController.php:38

App\Models\Order {#1204

"status" => "paid"

"total" => 129.90

}

dump() without the mess

Dumps land in a timeline grouped by request, with a link to the line in your editor. No code changes.

Xdebug
Detect breakpoints

Step debugging, only when you need it

Set a breakpoint in PhpStorm and Flock debugs that site's requests automatically, or use the browser extension. Everything else stays fast.

02 · Services

Services, ready when you are.

Native builds, signed and verified, started in the background. Pick a version and Flock installs it for you.

Pg :5432

PostgreSQL

Database · 18, 17, 16

Several major versions side by side, each with its own databases.

Install
My :3306

MySQL

Database · 9.7 LTS, 8.4 LTS, 8.0

The world's most popular open-source database.

Install
Ma :3306

MariaDB

Database · 12.3, 11.8, 11.4

The community fork of MySQL. Runs next to MySQL on its own port.

Install
Mo :27017

MongoDB

Database · 9.0, 8.0, 7.0

Store flexible JSON documents and query them with Eloquent.

Install
Va :6379

Valkey

Cache & queue · 9.1

The open-source Redis for your cache, queues and sessions. Laravel's Redis settings work unchanged.

Me :7700

Meilisearch

Search · 1.x

Fast full-text search for Laravel Scout.

Ts :8108

Typesense

Search · 30, 29 · macOS and Linux only

Typo-tolerant search for Laravel Scout.

Install
Rf :9000

RustFS

Storage · 1.x

S3-compatible object storage for your filesystem disks, with a web console.

Also built in: a mail catcher on :2525, a dump server on :9912 and Redis on macOS. The services docs list the .env lines for each.

03 · Platforms

Native on every side.

Built natively for each platform: a SwiftUI app on macOS, a WinUI 3 app on Windows, a GTK app on Linux, and the same CLI on all three.

macOS

Lives in your menu bar

  • macOS 15+, Apple silicon
  • Static PHP builds, one-click updates
  • .test DNS without root, certificates in your keychain

Windows

Lives in your tray

  • Windows 10 and 11, x64
  • Official PHP builds from windows.php.net
  • Starts at sign-in, no console windows

Linux

Lives in your top bar

  • Ubuntu 24.04+ and Fedora, x64 and arm64
  • Updates with your system, from a signed repository
  • .test DNS through systemd-resolved, trusted in every browser

04 · Frameworks

Laravel first. Not Laravel only.

Flock finds each project's document root on its own, so the framework you already use just works. Laravel gets a little extra: its queries, logs, views and jobs show up next to your dumps.

Laravel

Symfony

Nette

Craft CMS

Statamic

WordPress

Drupal

Yii

CakePHP

CodeIgniter

Slim, Laminas, Bedrock and plain PHP work too. Anything with an index.php gets served, and you can pin a different folder per project.

05 · Compare

Side by side with the tools you know.

Choose a tool you already know and see it next to Flock, row by row. Every tool here does something well, so we show that too.

Flock
Laravel Herd
Price
Yes: Free, open source, no account
$ Paid: Free core, services need Pro ($99/yr)
Platforms
Yes: macOS, Windows and Linux, native apps
Partly: macOS and Windows, no Linux yet
Runs natively
Yes: Native processes, no VM or containers
Yes: Native, nginx and PHP-FPM
PHP versions
Yes: 8.1 to 8.5 side by side
Yes: 7.4 up to 8.6 (release candidate)
PHP per project
Yes: Pinned in .flockrc or isolated per site
Yes: Isolated per site
.test domains
Yes: Built-in DNS, subdomains included
Yes: Automatic
Trusted HTTPS
Yes: Root limited to .test, no warnings
Yes: One click or command per site
Databases
Yes: PostgreSQL, MySQL, MariaDB, MongoDB
$ Paid: Pro only
Cache, search, storage
Yes: Valkey, Meilisearch, Typesense, RustFS
$ Paid: Pro only
Database UI
No: Use your own client
No: Not included
Mail catcher
Yes: An inbox per app, HTML preview
$ Paid: Pro only
Dumps and logs
Yes: Per-request timeline and Laravel log
$ Paid: Pro only, in Insights
Xdebug
Yes: Turns on when you set a breakpoint
Partly: Bundled, set up in php.ini; auto in Pro
Node.js
Yes: Per project from .nvmrc
Yes: Per site through nvm
Other languages
No: PHP and Node.js only
No: PHP and Node.js only
FrankenPHP and Octane
Yes: Per site, with Octane worker mode
No: nginx with PHP-FPM
Public preview link
Yes: Cloudflare tunnel, one command
Yes: Through Expose
AI agentic development
Yes: Built-in MCP server
Yes: MCP server built in, runtime context Pro
Git worktrees
Yes: Served and set up on their own, database included
Yes: Workspaces, registered with herd workspace
Built in Partly or by hand $ Paid tier Not available

Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.

Flock vs Laravel Herd, in full

Flock
Laragon
Price
Yes: Free, open source, no account
$ Paid: Free for non-commercial use, from $49/yr for work
Platforms
Yes: macOS, Windows and Linux, native apps
Partly: Windows only
Runs natively
Yes: Native processes, no VM or containers
Yes: Native Windows processes
PHP versions
Yes: 8.1 to 8.5 side by side
Partly: 8.1 to 8.5 bundled, one active at a time
PHP per project
Yes: Pinned in .flockrc or isolated per site
No: Not built in
.test domains
Yes: Built-in DNS, subdomains included
Yes: Automatic .test, written to hosts file
Trusted HTTPS
Yes: Root limited to .test, no warnings
Yes: Automatic, one click to trust its cert
Databases
Yes: PostgreSQL, MySQL, MariaDB, MongoDB
Partly: MySQL and PostgreSQL
Cache, search, storage
Yes: Valkey, Meilisearch, Typesense, RustFS
Partly: Redis and Memcached, no search or storage
Database UI
No: Use your own client
Yes: HeidiSQL bundled
Mail catcher
Yes: An inbox per app, HTML preview
Yes: Mailpit included
Dumps and logs
Yes: Per-request timeline and Laravel log
No: Not included
Xdebug
Yes: Turns on when you set a breakpoint
Partly: Add the DLL, then toggle in the menu
Node.js
Yes: Per project from .nvmrc
Partly: Several versions, one active at a time
Other languages
No: PHP and Node.js only
Yes: Python and Go
FrankenPHP and Octane
Yes: Per site, with Octane worker mode
No: Apache or nginx
Public preview link
Yes: Cloudflare tunnel, one command
Partly: Through ngrok, your own authtoken
AI agentic development
Yes: Built-in MCP server
No: Not included
Git worktrees
Yes: Served and set up on their own, database included
No: Not included
Built in Partly or by hand $ Paid tier Not available

Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.

Flock vs Laragon, in full

Flock
XAMPP
Price
Yes: Free, open source, no account
Yes: Free and open source
Platforms
Yes: macOS, Windows and Linux, native apps
Partly: Windows, older builds for macOS and Linux
Runs natively
Yes: Native processes, no VM or containers
Yes: Native processes
PHP versions
Yes: 8.1 to 8.5 side by side
No: One version per install
PHP per project
Yes: Pinned in .flockrc or isolated per site
No: Not possible
.test domains
Yes: Built-in DNS, subdomains included
No: Virtual hosts edited by hand
Trusted HTTPS
Yes: Root limited to .test, no warnings
Partly: Self-signed localhost cert, not trusted
Databases
Yes: PostgreSQL, MySQL, MariaDB, MongoDB
Partly: MariaDB only
Cache, search, storage
Yes: Valkey, Meilisearch, Typesense, RustFS
No: Not included
Database UI
No: Use your own client
Yes: phpMyAdmin bundled
Mail catcher
Yes: An inbox per app, HTML preview
Partly: Mercury mail server, no web inbox
Dumps and logs
Yes: Per-request timeline and Laravel log
No: Not included
Xdebug
Yes: Turns on when you set a breakpoint
Partly: Install and configure yourself
Node.js
Yes: Per project from .nvmrc
No: Not included
Other languages
No: PHP and Node.js only
Partly: Perl
FrankenPHP and Octane
Yes: Per site, with Octane worker mode
No: Apache only
Public preview link
Yes: Cloudflare tunnel, one command
No: Not included
AI agentic development
Yes: Built-in MCP server
No: Not included
Git worktrees
Yes: Served and set up on their own, database included
No: Not included
Built in Partly or by hand $ Paid tier Not available

Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.

Flock vs XAMPP, in full

Flock
Docker (Laravel Sail)
Price
Yes: Free, open source, no account
Partly: Free; Docker Desktop is paid for larger companies
Platforms
Yes: macOS, Windows and Linux, native apps
Yes: macOS, Linux, Windows through WSL2
Runs natively
Yes: Native processes, no VM or containers
No: Containers, inside a VM on macOS and Windows
PHP versions
Yes: 8.1 to 8.5 side by side
Yes: 8.0 to 8.5
PHP per project
Yes: Pinned in .flockrc or isolated per site
Yes: One compose.yaml per project
.test domains
Yes: Built-in DNS, subdomains included
No: localhost and port numbers
Trusted HTTPS
Yes: Root limited to .test, no warnings
No: Not by default
Databases
Yes: PostgreSQL, MySQL, MariaDB, MongoDB
Yes: MySQL, MariaDB, PostgreSQL, MongoDB
Cache, search, storage
Yes: Valkey, Meilisearch, Typesense, RustFS
Yes: Valkey, Meilisearch, Typesense, RustFS
Database UI
No: Use your own client
Partly: A container you add yourself
Mail catcher
Yes: An inbox per app, HTML preview
Yes: Mailpit
Dumps and logs
Yes: Per-request timeline and Laravel log
No: Not included
Xdebug
Yes: Turns on when you set a breakpoint
Partly: Environment variables and a rebuild
Node.js
Yes: Per project from .nvmrc
Partly: Baked into the image, rebuild to change
Other languages
No: PHP and Node.js only
Yes: Any language, as an image
FrankenPHP and Octane
Yes: Per site, with Octane worker mode
Partly: Octane through a compose.yaml setting
Public preview link
Yes: Cloudflare tunnel, one command
Yes: sail share, through Expose
AI agentic development
Yes: Built-in MCP server
No: Not included
Git worktrees
Yes: Served and set up on their own, database included
No: A compose stack per checkout, by hand
Built in Partly or by hand $ Paid tier Not available

Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.

Flock vs Docker (Laravel Sail), in full

Flock
Lerd
Price
Yes: Free, open source, no account
Yes: Free, MIT license
Platforms
Yes: macOS, Windows and Linux, native apps
Partly: Linux and macOS, Windows through WSL2 (beta)
Runs natively
Yes: Native processes, no VM or containers
Partly: Podman containers, native PHP on macOS
PHP versions
Yes: 8.1 to 8.5 side by side
Yes: 7.4 to 8.6 preview
PHP per project
Yes: Pinned in .flockrc or isolated per site
Yes: Per site
.test domains
Yes: Built-in DNS, subdomains included
Yes: Automatic
Trusted HTTPS
Yes: Root limited to .test, no warnings
Yes: Trusted certificates
Databases
Yes: PostgreSQL, MySQL, MariaDB, MongoDB
Yes: MySQL, MariaDB, PostgreSQL, MongoDB
Cache, search, storage
Yes: Valkey, Meilisearch, Typesense, RustFS
Yes: Valkey, Meilisearch, OpenSearch and more
Database UI
No: Use your own client
Yes: phpMyAdmin, Adminer, pgAdmin
Mail catcher
Yes: An inbox per app, HTML preview
Yes: Mailpit
Dumps and logs
Yes: Per-request timeline and Laravel log
Yes: Debug window
Xdebug
Yes: Turns on when you set a breakpoint
Yes: One command per PHP version
Node.js
Yes: Per project from .nvmrc
Yes: Per site
Other languages
No: PHP and Node.js only
Yes: Python, Rails, Go and Rust apps
FrankenPHP and Octane
Yes: Per site, with Octane worker mode
Yes: FrankenPHP per site, with Octane
Public preview link
Yes: Cloudflare tunnel, one command
Partly: Needs ngrok, cloudflared or Expose
AI agentic development
Yes: Built-in MCP server
Yes: MCP server
Git worktrees
Yes: Served and set up on their own, database included
Yes: Domain and database per worktree
Built in Partly or by hand $ Paid tier Not available

Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.

Flock vs Lerd, in full

Or see all 11 comparisons on one page.

06 · FAQ

Questions before you switch.

Yes. Flock is open source and free to use. There is no paid tier and no account to create.

No. Flock runs PHP, the web server and the services as native processes on your machine. Nothing is containerized, so there is no file sync, and requests are as fast as your disk.

Yes. Flock runs natively on Ubuntu 24.04 and newer and on current Fedora releases, on x64 and arm64, with the same CLI, background service and app as on macOS and Windows. It updates with the rest of your system.

Any PHP project works. Flock finds the document root on its own (public/ for Laravel and Symfony, www/ for Nette, web/ for Craft and Drupal…) and serves the project root otherwise, which also covers WordPress, plain PHP and static sites. Other languages and frameworks are on the roadmap.

Yes. Pin a version in a committed .flockrc file, isolate one per site on your machine, or rely on the default. The php and composer commands in your terminal follow the same rules as the browser.

Flock creates a local certificate authority on install and trusts it in your system. Its root certificate is restricted to your local TLD and localhost, so even a leaked key could not be used to impersonate real websites.

Yes, and your projects don't need any changes. Flock uses ports 80 and 443, so stop the other tool first; if a port is busy, Flock tells you which program is using it. Tools to import your sites from other environments are coming soon.

flock uninstall removes the daemon, PATH entry, DNS and certificate trust, but keeps your databases and site settings unless you pass --purge.

Join the flock.

Install Flock, park your code folder and open https://your-app.test.