.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.
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
One small native app and a CLI. No containers to build, no config files to edit.
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.
Every PHP from 8.1 to 8.5, side by side. Isolate a project to any of them, and switch whenever you like.
PostgreSQL, MySQL, MariaDB, MongoDB, Redis and more, as native processes that start with your computer.
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
}
Dumps land in a timeline grouped by request, with a link to the line in your editor. No code changes.
Set a breakpoint in PhpStorm and Flock debugs that site's requests automatically, or use the browser extension. Everything else stays fast.
02 · Services
Native builds, signed and verified, started in the background. Pick a version and Flock installs it for you.
Database · 18, 17, 16
Several major versions side by side, each with its own databases.
Database · 9.7 LTS, 8.4 LTS, 8.0
The world's most popular open-source database.
Database · 12.3, 11.8, 11.4
The community fork of MySQL. Runs next to MySQL on its own port.
Database · 9.0, 8.0, 7.0
Store flexible JSON documents and query them with Eloquent.
Cache & queue · 9.1
The open-source Redis for your cache, queues and sessions. Laravel's Redis settings work unchanged.
Search · 1.x
Fast full-text search for Laravel Scout.
Search · 30, 29 · macOS and Linux only
Typo-tolerant search for Laravel Scout.
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
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.
Lives in your menu bar
Lives in your tray
Lives in your top bar
04 · Frameworks
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
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.
Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.
Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.
Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.
Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.
Compared in October 2026 from each tool's own website. Something out of date? Tell us on GitHub.
Or see all 11 comparisons on one page.
06 · FAQ
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.
Install Flock, park your code folder and open https://your-app.test.