<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Json</title>
    <description>The latest articles on DEV Community by Json (@phlisg).</description>
    <link>https://dev.to/phlisg</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1613234%2F9dd1c698-70ac-41a4-a0ad-16a10dfda75c.jpg</url>
      <title>DEV Community: Json</title>
      <link>https://dev.to/phlisg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/phlisg"/>
    <language>en</language>
    <item>
      <title>Frank: your supercharged Laravel Sail alternative</title>
      <dc:creator>Json</dc:creator>
      <pubDate>Sun, 31 May 2026 08:16:10 +0000</pubDate>
      <link>https://dev.to/phlisg/frank-your-supercharged-laravel-sail-alternative-414i</link>
      <guid>https://dev.to/phlisg/frank-your-supercharged-laravel-sail-alternative-414i</guid>
      <description>&lt;p&gt;Today I'm super excited to come out of the shadows (as a "corporate developer") and finally propose the community something that (maybe) can be useful if you're using Sail with Laravel: &lt;a href="https://github.com/phlisg/frank" rel="noopener noreferrer"&gt;&lt;strong&gt;Frank&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;(Actually my first post about my first "public" repo :D)&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Frank about?
&lt;/h2&gt;

&lt;p&gt;Frank is a supercharged Laravel development tool using Docker, with a lot of features that come from my daily frustrations working with complex Laravel projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  What frustrations?
&lt;/h2&gt;

&lt;p&gt;Right. Those are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;adapting copy/pasted commands from docs or other sources, from &lt;code&gt;php&lt;/code&gt; to &lt;code&gt;sail&lt;/code&gt; : &lt;code&gt;sail artisan ...&lt;/code&gt; or &lt;code&gt;sail composer&lt;/code&gt;, or even &lt;code&gt;sail pnpm&lt;/code&gt; commands&lt;/li&gt;
&lt;li&gt;needing a local PHP and Node installation, which get outdated fast and run into conflicts&lt;/li&gt;
&lt;li&gt;forgetting to restart my queue workers after code changes&lt;/li&gt;
&lt;li&gt;having Claude run pest tests with &lt;code&gt;RefreshDatabase&lt;/code&gt; only to have my local database wiped (I got seeders but not specific implementations)&lt;/li&gt;
&lt;li&gt;needing two monitors for my terminal holding all the various panes I need to run queues, claude, sidecar, &lt;code&gt;npm run dev&lt;/code&gt;... (ok admittedly only one monitor)&lt;/li&gt;
&lt;li&gt;installing Laravel via Docker only got removed from the docs&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ap2iqihn4a5giodtq71.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ap2iqihn4a5giodtq71.png" alt="Frank CLI features coming from Laravel Sail" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From frustrations, ideas! (which turn into features) To keep things short, these are my favorite features:&lt;/p&gt;

&lt;h3&gt;
  
  
  Folder-aware local aliases! (+ custom ones)
&lt;/h3&gt;

&lt;p&gt;Taking inspiration from Python and thanks to &lt;code&gt;chpwd&lt;/code&gt; hooks, when you go into a frank-managed project, calling &lt;code&gt;php&lt;/code&gt;, &lt;code&gt;npm&lt;/code&gt;, &lt;code&gt;composer&lt;/code&gt;, &lt;code&gt;tinker&lt;/code&gt;, ... are directly working and using the containers underneath.&lt;/p&gt;

&lt;p&gt;You may also edit the commitable &lt;code&gt;frank.yml&lt;/code&gt; to add your favourite (and team-shareable) aliases, like &lt;code&gt;trunc&lt;/code&gt; for the &lt;code&gt;laravel.log&lt;/code&gt; truncation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Frank.yml&lt;/span&gt;
&lt;span class="na"&gt;aliases&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;trunc&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;truncate&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;-s&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;0&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;/var/www/html/storage/logs/laravel.log"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;While aliases only interact with stuff inside the containers, you may also define "host" aliases:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;browse&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;cmd&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;open&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;http://localhost"&lt;/span&gt;
  &lt;span class="na"&gt;host&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Pure Docker install!
&lt;/h3&gt;

&lt;p&gt;Not entirely "pure", as you still need to either use Brew or install Go to use Frank (plus lefthook and mkcert), but your new app is a &lt;code&gt;frank new my-app&lt;/code&gt; away!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Support for Podman is considered&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Automatic queue restart (+ scheduler) with a TUI!
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4uwe8n9hz7gmjg24zm8n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4uwe8n9hz7gmjg24zm8n.png" alt="Frank worker TUI" width="799" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A gentle watcher observes as you code, and restarts workers when you're done. It's kind enough not to interrupt a running job, so you can code away while your big job finishes, then the queue restarts&lt;/p&gt;

&lt;p&gt;You can even spawn ad-hoc workers if you need the extra power.&lt;/p&gt;

&lt;p&gt;Useful keyboard shortcuts to restart your queues (like force restarting) if you need to interrupt those long running jobs on purpose.&lt;/p&gt;

&lt;h3&gt;
  
  
  PHP Runtime selection
&lt;/h3&gt;

&lt;p&gt;Frank derives its name from &lt;code&gt;FrankenPHP&lt;/code&gt;, but that doesn't mean you can't run your projects with FPM neither.&lt;/p&gt;

&lt;p&gt;Choose between the classic Nginx + PHP-FPM or the shiny new FrankenPHP runtimes. &lt;/p&gt;

&lt;h3&gt;
  
  
  HTTPS out of the box!
&lt;/h3&gt;

&lt;p&gt;Have &lt;code&gt;mkcert&lt;/code&gt; installed locally? Reap from the HTTPS benefits, with automatic http/3 and http/2 from caddy and nginx respectively.&lt;/p&gt;

&lt;h3&gt;
  
  
  And more and more...
&lt;/h3&gt;

&lt;p&gt;Not just that, but also:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MCP server&lt;/li&gt;
&lt;li&gt;Git Worktrees support with separate databases (and another TUI!)&lt;/li&gt;
&lt;li&gt;Single file configuration (&lt;code&gt;frank.yml&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Testing that &lt;em&gt;Just works&lt;/em&gt; (&lt;code&gt;&amp;lt;insert todd_howard.png&amp;gt;&lt;/code&gt;) using the same database engine as your project &lt;/li&gt;
&lt;li&gt;Auto &lt;code&gt;.env&lt;/code&gt; patching, lefthook install with pint, larastan and rector configurations&lt;/li&gt;
&lt;li&gt;Comes with a &lt;code&gt;vite.config.js&lt;/code&gt; patch as a script to import for easy https usage.&lt;/li&gt;
&lt;li&gt;Docs&lt;/li&gt;
&lt;li&gt;Small status page when invoking &lt;code&gt;frank&lt;/code&gt; on the terminal&lt;/li&gt;
&lt;li&gt;Self-updater with discrete nag&lt;/li&gt;
&lt;li&gt;Default Node package manager selection (supported: npm, pnpm, bun) &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  No lock-in by design
&lt;/h2&gt;

&lt;p&gt;We Laravel developers have our habits and I don't wish to break them. &lt;em&gt;Frank&lt;/em&gt; is designed to be used to as much as you like, even for solely installing a fresh new Sail project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;frank new my-app &lt;span class="nt"&gt;--sail&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And that's it!&lt;/p&gt;

&lt;p&gt;You can also import a sail configuration and export one.&lt;/p&gt;

&lt;p&gt;You may "adopt" Frank in any Laravel 12+ project with a simple &lt;code&gt;frank setup&lt;/code&gt;, via interactive prompts or flags. &lt;/p&gt;

&lt;h2&gt;
  
  
  Limited dependencies
&lt;/h2&gt;

&lt;p&gt;Besides Docker, I tried hard to keep external dependencies low. That's why I chose Go so I can ship a single binary on "any" platform (UNIX-like at least). &lt;/p&gt;

&lt;p&gt;My personal choice for lefthook may not be yours, as well as other tools here. You can stay clear of these tools via &lt;code&gt;frank.yml&lt;/code&gt; or interactive setups.&lt;/p&gt;

&lt;p&gt;However, I recommend installing mkcert and lefthook. I use lefthook as my local CI (which modifies my code directly, except for PHPstan) so that coding with an agent makes them fox stuff directly. &lt;/p&gt;

&lt;p&gt;For now, you will need either Brew or Go locally installed.&lt;/p&gt;

&lt;h2&gt;
  
  
  OS compatibility
&lt;/h2&gt;

&lt;p&gt;Frank is solely developed and tested on Linux. No planned dedicated Windows support besides WSL. Mac support via Brew or Go, but didn't test much. So if you run into trouble please create an issue. &lt;/p&gt;

&lt;h2&gt;
  
  
  Ending notes
&lt;/h2&gt;

&lt;p&gt;Frank's main objective is to be &lt;em&gt;simple&lt;/em&gt;, intuitive and unobstrusive. &lt;/p&gt;

&lt;p&gt;I currently use Frank for professional projects and is under active development, besides already versioned at 1.10.7 at the time of this post.&lt;/p&gt;

&lt;p&gt;However, shamefully, I never managed to test FrankenPHP on a live server so I'm certain Frank is missing a few tweaks to make FrankenPHP support better. I would love some help there :)&lt;/p&gt;

&lt;p&gt;Thank you for reading!&lt;/p&gt;

&lt;p&gt;Link to the repo: &lt;a href="https://github.com/phlisg/frank" rel="noopener noreferrer"&gt;https://github.com/phlisg/frank&lt;/a&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>docker</category>
      <category>php</category>
      <category>go</category>
    </item>
  </channel>
</rss>
