<?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: Stratos</title>
    <description>The latest articles on DEV Community by Stratos (@stratosapp).</description>
    <link>https://dev.to/stratosapp</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4257404%2Fc2304fbd-aa12-44f9-a25a-58ba4bf3caa9.png</url>
      <title>DEV Community: Stratos</title>
      <link>https://dev.to/stratosapp</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stratosapp"/>
    <language>en</language>
    <item>
      <title>How I Replaced 6 GB Docker Desktop with a 65 MB Native Swift PHP 8.5 Stack on Apple Silicon</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Sat, 21 Nov 2026 13:37:45 +0000</pubDate>
      <link>https://dev.to/stratosapp/how-i-replaced-6-gb-docker-desktop-with-a-65-mb-native-swift-php-85-stack-on-apple-silicon-2am</link>
      <guid>https://dev.to/stratosapp/how-i-replaced-6-gb-docker-desktop-with-a-65-mb-native-swift-php-85-stack-on-apple-silicon-2am</guid>
      <description>&lt;p&gt;If you build Laravel, WordPress, or PHP apps on an Apple Silicon MacBook, you've probably felt the exact same frustration: you only have two local projects open, yet Activity Monitor shows &lt;strong&gt;Docker Desktop eating 4–8 GB of RAM&lt;/strong&gt;, &lt;code&gt;Virtualization&lt;/code&gt; hammering your CPU, and your MacBook battery dropping 30% in an hour.&lt;/p&gt;

&lt;p&gt;For a long time, the tradeoff seemed unavoidable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Docker Desktop / Sail:&lt;/strong&gt; Great isolation, terrible battery life and slow bind-mount file I/O on large &lt;code&gt;vendor/&lt;/code&gt; directories.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Homebrew + Valet:&lt;/strong&gt; Fast and native, until &lt;code&gt;brew upgrade&lt;/code&gt; bumps &lt;code&gt;openssl@4&lt;/code&gt; or &lt;code&gt;icu4c&lt;/code&gt; and breaks your PHP extensions or causes &lt;code&gt;dyld: Library not loaded&lt;/code&gt; errors across every project.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That frustration is why I built &lt;strong&gt;&lt;a href="https://stratosapp.dev" rel="noopener noreferrer"&gt;Stratos&lt;/a&gt;&lt;/strong&gt; — a 100% native Swift macOS local development stack that runs coexisting PHP 8.1–8.5 pools, Nginx, MySQL/PostgreSQL/Redis, automatic wildcard &lt;code&gt;.test&lt;/code&gt; HTTPS, and developer debugging tools in &lt;strong&gt;~65 MB of idle RAM&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Native Swift + Isolated Unix Sockets Beats a Linux VM on macOS
&lt;/h2&gt;

&lt;p&gt;When Docker Desktop serves a local Laravel request on macOS, every file read in &lt;code&gt;vendor/&lt;/code&gt; and &lt;code&gt;storage/&lt;/code&gt; crosses the macOS ↔ Linux VM filesystem bridge (VirtioFS). On a real Laravel app with 400+ autoloaded files per request, that virtualization overhead adds up fast.&lt;/p&gt;

&lt;p&gt;On a native stack:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Direct APFS I/O:&lt;/strong&gt; PHP-FPM reads directly from macOS APFS with zero VM translation layer — sub-20ms TTFB on local Laravel routes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Coexisting PHP 8.1, 8.2, 8.3, 8.4, and 8.5 FPM Pools:&lt;/strong&gt; Instead of globally switching &lt;code&gt;php&lt;/code&gt; every time you jump between a legacy client project (PHP 8.1) and a new Laravel 12 app (PHP 8.5), each PHP version runs its own isolated Unix socket (&lt;code&gt;~/Library/Application Support/Stratos/fpm/php8.X-fpm.sock&lt;/code&gt;) and Nginx routes each &lt;code&gt;.test&lt;/code&gt; site to its pinned version simultaneously.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Port-53 Hijacking:&lt;/strong&gt; Local &lt;code&gt;.test&lt;/code&gt; DNS runs on an isolated &lt;code&gt;dnsmasq&lt;/code&gt; port (&lt;code&gt;53535&lt;/code&gt;) wired via &lt;code&gt;/etc/resolver/test&lt;/code&gt; — so it never conflicts with Pi-hole, NextDNS, corporate VPNs, or Docker's own DNS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic Wildcard &lt;code&gt;.test&lt;/code&gt; HTTPS:&lt;/strong&gt; A local Root CA is generated and trusted in your macOS Keychain once, issuing SAN certificates automatically (including for &lt;strong&gt;Git worktree branch subdomains&lt;/strong&gt; like &lt;code&gt;feature-auth.myapp.test&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Measured Idle Footprint (Apple Silicon M-Series)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Docker Desktop + Sail (2 Laravel Sites)&lt;/th&gt;
&lt;th&gt;Native Swift Stack (Stratos)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Idle RAM&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;4.2 – 6.8 GB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~65 MB&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cold Boot Time&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;18 – 35 seconds&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;lt; 1 second&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Multi-PHP Side-by-Side&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Separate container per version&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Isolated Unix sockets (8.1–8.5)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;File Sync Overhead&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;VirtioFS bridge&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;0% (Native APFS)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Battery Drain&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;High (VM polling)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~0.1% idle CPU&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Solving the Real Day-to-Day Local Dev Friction
&lt;/h2&gt;

&lt;p&gt;Beyond raw speed, native local development only sticks if you don't need 4 other apps open alongside it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Git Worktree Branch Subdomains:&lt;/strong&gt; Create or link a Git worktree and immediately access it at &lt;code&gt;feature-branch.myapp.test&lt;/code&gt; with isolated SQLite and queues — test two branches side-by-side without stashing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in Universal Database Hub:&lt;/strong&gt; Browse SQLite, MySQL, and PostgreSQL tables natively + generate interactive &lt;strong&gt;ER Schema Diagrams&lt;/strong&gt; without switching to a separate &lt;code&gt;$89&lt;/code&gt; GUI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual PHP &amp;amp; Laravel Tinker REPL + 1-Click Xdebug 3:&lt;/strong&gt; Run Eloquent queries in a visual sandbox and toggle Xdebug on port &lt;code&gt;9003&lt;/code&gt; for PhpStorm/Cursor/VS Code with zero &lt;code&gt;php.ini&lt;/code&gt; editing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in Local AI MCP Bridge (v1.7.2):&lt;/strong&gt; Connect Cursor, Claude Code, Claude Desktop, or Windsurf directly to your local site metadata, live DB schemas, and Laravel exception logs over localhost loopback — no more copy-pasting stack traces.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Try It Free (Zero Docker, Zero Subscription Lock-In)
&lt;/h2&gt;

&lt;p&gt;Stratos Core is &lt;strong&gt;free forever&lt;/strong&gt; (Nginx, multi-PHP 8.1–8.5, automatic &lt;code&gt;.test&lt;/code&gt; HTTPS, CLI companion, MailCatcher, SQLite/MySQL browsing, and Free read-only MCP schema context).&lt;/p&gt;

&lt;p&gt;If you want the full Pro suite (Visual Tinker, ER Diagrams, unlimited Cloudflare Tunnels, Request Inspector &amp;amp; cURL replay, Site Snapshots, and full MCP execution), it's &lt;code&gt;$39/year&lt;/code&gt; or a &lt;strong&gt;&lt;code&gt;$89&lt;/code&gt; one-time Founder Lifetime license&lt;/strong&gt; (currently &lt;strong&gt;20% off with code &lt;code&gt;BFCM20&lt;/code&gt;&lt;/strong&gt; through Nov 30, 2026 — &lt;code&gt;$71.20&lt;/code&gt; once for 3 Macs).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Download Stratos v1.7.2 (Apple Silicon &amp;amp; Intel, Notarized):&lt;/strong&gt; &lt;a href="https://stratosapp.dev/download/" rel="noopener noreferrer"&gt;https://stratosapp.dev/download/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Docker vs. Native Benchmark &amp;amp; Sail Migrator:&lt;/strong&gt; &lt;a href="https://stratosapp.dev/docs/apple-silicon-docker-desktop-vs-native-swift-php-laravel/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/apple-silicon-docker-desktop-vs-native-swift-php-laravel/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to answer any questions about Swift process orchestration, Homebrew bottle dependency resolution (&lt;code&gt;openssl@4&lt;/code&gt;), or Unix socket FPM pooling in the comments!&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>macos</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
