.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 and macOS. No Docker, no virtual machine.
Free and open source · Windows 10+ and macOS 15+
The Flock daemon runs your sites, PHP and services in the background.
Daemon
Network
Startup
Project folders
Sites you added one by one, plus every folder inside your project folders.
| Site | PHP | Node | HTTPS | Actions |
|---|---|---|---|---|
|
Project folder
|
A version picked here applies on this machine only. To set it for everyone working on a project, pin it: PHP goes into .flockrc, Node.js into .nvmrc.
Every installed version runs its own PHP-FPM pool. Sites use the default unless pinned to a version.
Versions Checked ·
Background builds
Patch updates and newly released PHP versions are built in the background, so installing them is instant.
node, npm and npx follow the project's .nvmrc / .node-version, then the site's version, then the default.
Official builds from nodejs.org, verified against their checksums. Global npm packages belong to a Node line and survive its updates.
Databases, caches, search and the tools around your sites. Everything listens on 127.0.0.1 only.
Environment Variables
Flock catches every email your apps send — nothing leaves your .
SMTP server
Environment Variables
MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME="${APP_NAME}"
MAIL_USERNAME picks the inbox, so every project gets its own.
Send dump() and dd() output to Flock instead of the page or terminal — no changes to your projects.
Turn it off to see dumps in the page again.
Sources
Step through requests and commands with Xdebug.
Loading Xdebug slows every request down, so keep it off when you don't need it.
Connect your IDE
Use the Xdebug browser extension, add ?XDEBUG_TRIGGER=1 to the URL, or run XDEBUG_TRIGGER=1 php artisan …
Availability
From to
GET acme.test/orders/1042 just now
app/Http/Controllers/OrderController.php:38
App\Models\Order {#1204
"id" => 1042
"status" => "paid"
"total" => 129.90
}
app/Services/Shipping.php:12
array:2 [ "carrier" => "dhl", "eta" => "2026-10-17" ]
An interactive preview of the Flock app. Go ahead, try it out.
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 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, and the same CLI on both.
Lives in your menu bar
Lives in your tray
04 · 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.
Any PHP project works. Flock serves public/index.php when there is one (Laravel, Symfony, Statamic, Craft…) and the project root otherwise, which also covers 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.