Laravel sandbox
A fresh Laravel app with SQLite, bundled with Runlet. Runs on your PHP, on Runlet’s own when you have none, or in a php:8.4-cli container.
Early preview
The PHP scratchpad that feels at home on your Mac.
Run snippets against a bundled Laravel sandbox, your local projects, Docker containers, or servers over SSH. See the result, the SQL queries it ran, the mail it sent, and the logs it wrote. Then query the database, Redis, or MongoDB in a tab of its own.
Runlet’s own PHP
Runlet runs PHP on a Mac with nothing installed: no Herd, no Homebrew, no Docker. One click downloads its own PHP 8.5.8, and the Laravel sandbox and your projects run on it.
A banner above the sandbox or a local project offers Runlet’s PHP. So does Settings ▸ PHP.
A self-contained PHP 8.5.8 for your Mac’s CPU, about 26 MB, from Runlet’s GitHub releases. Nothing downloads until you click.
It must match the SHA‑256 pinned in Runlet and run before it’s installed in Application Support.
The sandbox, local projects, and database connections from this Mac use it right away, with intl, SQLite, MySQL, PostgreSQL, Redis, MongoDB, gd, and sodium.
Your PHP always comes first. Herd, Homebrew, or the php on your PATH win, and Runlet’s PHP is the fallback. Choose it per project or as the default, or remove it, in Settings ▸ PHP.
Run anywhere
Every tab has a target. Switch it from the toolbar or with ⌘P, press Run, and the output, dumps, errors, and Stop behave the same everywhere.
A fresh Laravel app with SQLite, bundled with Runlet. Runs on your PHP, on Runlet’s own when you have none, or in a php:8.4-cli container.
Open any folder. Laravel, Symfony, WordPress, and Composer projects boot automatically, on PHP 7.4 or newer.
Pick a running container or Compose service. Runlet finds it again after it’s recreated, and never picks a different one silently.
Hosts from ~/.ssh/config, jump hosts included. ssh-agent and 1Password work as in Terminal; password and 2FA logins stay connected until you disconnect.
Mark a target as staging or production. Production gets a red badge on its tab, toolbar, and status bar, and every run shows you what will run, and where, before it does.
ssh.
Run inspector
Results arrive as structured, expandable values. Next to them, Runlet shows the SQL queries the run made, the mail it sent, and the log messages it wrote.
Mailables, notifications, views, and HTML responses render in a locked-down preview: no JavaScript, no navigation, and no remote loads unless you allow them. Turn on mail interception and Laravel builds each message without sending it.
Laravel, Eloquent without Laravel, Symfony’s Doctrine, and WordPress, with no setup. Standalone DBAL or plain PDO take one line in a driver.
Expandable value trees, a sortable table for rows and collections, a CLI-style transcript, or the exact bytes.
Copy values as JSON, PHP, or Markdown, export tables as CSV, and save the whole output to a file.
Databases
An SQL tab runs statements on the application’s own connection, so there are no credentials to enter. Save connections for any other database, and open Redis and MongoDB in tabs of their own.
A Redis tab runs commands one per line, next to a key browser and a server panel. A MongoDB tab runs a query written as JSON, with a collection explorer and Load More.
MySQL and MariaDB, PostgreSQL, SQLite, SQL Server, and custom DSNs, with passwords in the Keychain. Make one read-only, or connect through an SSH profile’s tunnel or from this Mac.
The schema explorer lists tables, columns, keys, and indexes. Browse Table pages through a table on the server, Show Relations draws its foreign keys, and the Server section shows sizes and sessions.
Stop cancels a running statement on the database server. The Connection Manager lists every connection, tunnel, and run Runlet has open.
Editor & completion
Runlet indexes your project with PHPantom, so models, relations, and columns complete as you type, with hover, signature help, diagnostics, and code navigation. It works for Docker and SSH targets too, from their checkout on your Mac.
⌘P opens anything: targets, snippets, recent files, and your run history. ⇧⌘P finds any command. Every shortcut can be changed in Settings.
.runlet/snippets.
F12 or ⌘-click. Project files open in your editor at the line; vendor code opens in a read-only peek beside the snippet.
⇧F12 lists every use. ⌥↩ offers fixes such as Import class, applied to the tab as one undo step.
Parameter names and inferred types right in the code, and folds for functions, arrays, and comments.
Drivers & commands
Laravel, Lumen, Laravel Zero, Symfony, WordPress, and Composer projects are detected and booted for you. For anything else, a small driver in your project’s .runlet folder teaches Runlet how to boot it.
Boot your app, hand snippets the variables they need, add commands to the Commands pane, declare tools that run on your Mac, and add sections of your own to the run inspector.
// .runlet/ShopDriver.php
use Runlet\Drivers\LaravelDriver;
class ShopDriver extends LaravelDriver
{
public function variables(): array
{
return parent::variables() + [
'cart' => $this->app->make(Cart::class),
];
}
public function hostCommands(): array
{
return [
'up' => 'docker compose up -d',
];
}
}
View ▸ Logs (⌘L) parses Laravel, Symfony, and WordPress logs and follows them as they’re written. Containers and servers only when you click Follow.
Run a PHP tab in database transactions that Runlet always rolls back. On MySQL and MariaDB, statements that would commit are refused.
Every SSH connection, tunnel, database session, and run Runlet has open, in one window (⇧⌘C), each with Close.
Error cards show the lines around the one that failed, and their stack frames open to the code.
Your login shell, in the project’s folder. Commands wait until the shell is ready.
runlet commandrunlet . opens the current folder; runlet file.php opens a file.
Every run, per project or for all of them, plus personal snippets and the project snippets your team commits in .runlet/snippets.
Tabs opened from files reload when another app changes them, and ask when you have edits.
File paths in output open at their line in PhpStorm, VS Code, Cursor, Zed, Sublime Text, and more.
Runlet ▸ Check for Updates… checks the new version’s signature, installs it, and relaunches. Choose the Stable or Beta channel.
A short guided tour on first launch, and What’s New after an update, with Show Me tours of the new features.
No account, analytics, or crash reports. The update check is one request to GitHub, at launch and once a day, with nothing about you or your Mac, and you can turn it off.
Open source
Runlet is free, and the whole app is on GitHub under the MIT License: read the code, file an issue, send a pull request, or build your own copy.
Built with Swift, SwiftUI, and AppKit. Runlet bundles SwiftTerm (MIT), Sparkle (MIT), PHPantom, Mago (MIT or Apache-2.0), nikic/php-parser (BSD-3-Clause), and a Laravel sandbox (MIT); their notices ship inside the app.
Install
Get the .dmg or .zip from the latest release and move Runlet to Applications. One universal app runs on Apple silicon and Intel.
Runlet is an early release, ad-hoc signed and not yet notarized, so macOS blocks the first launch. Open Runlet once; macOS says it can’t verify it. Then go to System Settings ▸ Privacy & Security and click Open Anyway next to the message about Runlet, then confirm. Or run this in Terminal:
/usr/bin/xattr -dr com.apple.quarantine /Applications/Runlet.app
You do this once: updates installed from Runlet don’t need it.
The Laravel sandbox is ready in the first tab. Press ⌘R; if your Mac has no PHP, click Download PHP 8.5.8 in the banner above it first. Open a project with ⇧⌘O, or from Terminal with the runlet command (Runlet ▸ Install Command-Line Tool…).
pdo_sqlsrv or pdo_dblib.Yes. There is no paid version, no trial, and no account. Runlet is open source under the MIT License.
Runlet is an early preview, built quickly with AI assistance. Expect rough edges. If something breaks or feels off, please open an issue on GitHub; it helps a lot.
Runlet is an early release, ad-hoc signed and not yet notarized by Apple, so macOS blocks the first launch. Open Runlet once; macOS says it can’t verify it. Then go to System Settings ▸ Privacy & Security and click Open Anyway next to the message about Runlet, then confirm. Or remove the quarantine flag in Terminal with /usr/bin/xattr -dr com.apple.quarantine /Applications/Runlet.app. You only do this once: updates installed from Runlet remove the flag themselves. If you prefer, build it from source.
No. Code runs on the target you pick: your Mac, a Docker container, or a server you connect to with your own ssh. Your code reaches PHP over stdin and is never written to disk. On a server, the only things kept are Runlet’s runner and the app’s compiled PHP, in a private cache that you can turn off. Runlet has no telemetry and stores no SSH keys or SSH passwords. Passwords of saved database connections go only into your Mac’s Keychain.
No. Your snippets run when you press Run; opening a project, switching tabs, or restoring a session doesn’t run them, and opening an SQL, Redis, or MongoDB tab or choosing its connection doesn’t connect or run anything. The Commands pane boots a project to list its commands only while the pane is open, and never on its own for SSH or production targets. Production targets confirm every run and every project command.
No. If your Mac has no PHP, Runlet offers to download its own: a self-contained PHP 8.5.8, about 26 MB, checked against a SHA-256 pinned in the app and kept in Application Support. The sandbox and your local projects run on it, without Herd, Homebrew, or Docker. If you have PHP installed, Runlet uses yours first.
Your projects can use PHP 7.4 or newer, locally, in Docker, or over SSH. The bundled Laravel sandbox needs PHP 8.3 or newer; without it on your Mac, Runlet offers to download its own PHP 8.5.8, or runs the sandbox in a php:8.4-cli container.
Yes. Symfony, WordPress, Lumen, Laravel Zero, and plain Composer projects work out of the box, and a project driver in .runlet/ can boot anything else. See the driver guide.
Choose Runlet ▸ Check for Updates…, then Install and Relaunch. Runlet also checks by itself at launch and once a day, and installs nothing until you choose. It checks the update’s signature first, removes the quarantine flag so macOS doesn’t ask again, and puts back the version you had if the new one doesn’t start. In Settings ▸ General ▸ Updates, choose the Stable or Beta channel, or turn the automatic checks off.
Runlet 0.3.0 and older (and 0.4.0 betas 1 to 6) can’t update themselves: download the newest release and replace the app once. Your tabs, snippets, history, and targets stay in ~/Library/Application Support/Runlet.