<?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 (@stratos_mac).</description>
    <link>https://dev.to/stratos_mac</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%2F4241701%2F6511d30b-b70d-4d98-a856-2bde582e5182.png</url>
      <title>DEV Community: Stratos</title>
      <link>https://dev.to/stratos_mac</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stratos_mac"/>
    <language>en</language>
    <item>
      <title>Laravel MailCatcher Config &amp; .env Example on macOS (Zero Docker SMTP on Port 1025)</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Thu, 03 Dec 2026 01:59:01 +0000</pubDate>
      <link>https://dev.to/stratos_mac/laravel-mailcatcher-config-env-example-on-macos-zero-docker-smtp-on-port-1025-4o1</link>
      <guid>https://dev.to/stratos_mac/laravel-mailcatcher-config-env-example-on-macos-zero-docker-smtp-on-port-1025-4o1</guid>
      <description>&lt;p&gt;Testing password resets, Stripe receipts, and queue notifications locally in Laravel shouldn't require sending real emails through Mailtrap limits or booting a 4 GB Docker container just to catch SMTP traffic.&lt;/p&gt;

&lt;p&gt;Here is the exact &lt;strong&gt;Laravel &lt;code&gt;.env&lt;/code&gt; MailCatcher configuration&lt;/strong&gt; for catching every local email safely on &lt;code&gt;127.0.0.1:1025&lt;/code&gt; on macOS — plus how to pair it with local &lt;code&gt;dump()&lt;/code&gt; inspection without touching Docker.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Exact Laravel &lt;code&gt;.env&lt;/code&gt; MailCatcher Config (Laravel 10, 11 &amp;amp; 12)
&lt;/h2&gt;

&lt;p&gt;Drop these six lines into your local &lt;code&gt;.env&lt;/code&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@my-app.test"
MAIL_FROM_NAME="${APP_NAME}"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you changed &lt;code&gt;.env&lt;/code&gt; while config caching was enabled, flush it once:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan config:clear
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Quick 1-Line Test via Laravel Tinker
&lt;/h2&gt;

&lt;p&gt;Verify your local SMTP interceptor is catching messages without building a form:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php artisan tinker --execute=&lt;span class="s2"&gt;"Illuminate\Support\Facades\Mail::raw('Local MailCatcher works!', fn(\$m) =&amp;gt; \$m-&amp;gt;to('dev@example.test')-&amp;gt;subject('SMTP Test'));"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If nothing arrives on port &lt;code&gt;1025&lt;/code&gt;, check whether another local daemon (Mailpit, MailHog, or an old container) already bound port &lt;code&gt;1025&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;lsof -nP -iTCP:1025 -sTCP:LISTEN
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  3. Native macOS Alternative to Docker MailCatcher + Herd Pro
&lt;/h2&gt;

&lt;p&gt;If you're running Laravel or WordPress on Apple Silicon and want a &lt;strong&gt;native Swift menu-bar stack&lt;/strong&gt; that bundles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Built-in &lt;strong&gt;local SMTP MailCatcher on port 1025&lt;/strong&gt; (zero external binaries)&lt;/li&gt;
&lt;li&gt;Built-in &lt;strong&gt;Dump Server on port 9912&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Side-by-side &lt;strong&gt;PHP 8.1–8.5 FPM Unix sockets&lt;/strong&gt; &amp;amp; automatic Keychain &lt;code&gt;.test&lt;/code&gt; HTTPS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual Tinker REPL&lt;/strong&gt;, Universal DB Browser, and &lt;strong&gt;1-click Cursor / Claude Code MCP&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check out our full &lt;a href="https://stratosapp.dev/docs/mail-and-dumps/" rel="noopener noreferrer"&gt;MailCatcher &amp;amp; Dump Server configuration guide&lt;/a&gt;, our &lt;a href="https://stratosapp.dev/docs/docker-battery-and-performance/" rel="noopener noreferrer"&gt;Docker vs native Apple Silicon battery life comparison&lt;/a&gt;, or grab the &lt;strong&gt;$0 Free Forever&lt;/strong&gt; macOS build (plus &lt;a href="https://stratosapp.dev/docs/laravel-herd-pro-alternative-no-subscription/" rel="noopener noreferrer"&gt;Laravel Herd lifetime license alternative&lt;/a&gt; pricing) at &lt;a href="https://stratosapp.dev/download/" rel="noopener noreferrer"&gt;https://stratosapp.dev/download/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We also just shipped the free &lt;strong&gt;VS Code / Cursor Companion Extension&lt;/strong&gt; on the Visual Studio Marketplace: &lt;a href="https://marketplace.visualstudio.com/items?itemName=stratosapp.stratos-macos" rel="noopener noreferrer"&gt;https://marketplace.visualstudio.com/items?itemName=stratosapp.stratos-macos&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How are you catching local Laravel emails on macOS in 2026 — MailCatcher, Mailpit, HELO, or Mailtrap?&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>macos</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I Built a Free Laravel MCP Config Generator + VS Code/Cursor Companion for Native macOS PHP Stacks</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Sat, 28 Nov 2026 02:42:00 +0000</pubDate>
      <link>https://dev.to/stratos_mac/i-built-a-free-laravel-mcp-config-generator-vs-codecursor-companion-for-native-macos-php-stacks-25eg</link>
      <guid>https://dev.to/stratos_mac/i-built-a-free-laravel-mcp-config-generator-vs-codecursor-companion-for-native-macos-php-stacks-25eg</guid>
      <description>&lt;p&gt;Connecting &lt;strong&gt;Cursor&lt;/strong&gt;, &lt;strong&gt;Claude Code&lt;/strong&gt;, &lt;strong&gt;Claude Desktop&lt;/strong&gt;, or &lt;strong&gt;Windsurf&lt;/strong&gt; to a local Laravel or WordPress project shouldn't require hand-editing four different JSON schemas every time you start a project.&lt;/p&gt;

&lt;p&gt;Every AI client uses a slightly different MCP config path and key format:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cursor:&lt;/strong&gt; &lt;code&gt;.cursor/mcp.json&lt;/code&gt; → &lt;code&gt;mcpServers.&amp;lt;name&amp;gt;.url&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code:&lt;/strong&gt; &lt;code&gt;.mcp.json&lt;/code&gt; → &lt;code&gt;mcpServers.&amp;lt;name&amp;gt;&lt;/code&gt; with &lt;code&gt;"type": "http"&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VS Code:&lt;/strong&gt; &lt;code&gt;.vscode/mcp.json&lt;/code&gt; → &lt;code&gt;servers.&amp;lt;name&amp;gt;&lt;/code&gt; with &lt;code&gt;"type": "http"&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windsurf:&lt;/strong&gt; &lt;code&gt;~/.codeium/windsurf/mcp_config.json&lt;/code&gt; → &lt;code&gt;mcpServers.&amp;lt;name&amp;gt;.serverUrl&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Desktop:&lt;/strong&gt; &lt;code&gt;claude_desktop_config.json&lt;/code&gt; → &lt;code&gt;stdio&lt;/code&gt; relay (&lt;code&gt;command&lt;/code&gt; + &lt;code&gt;args&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  1. Free Zero-Login Browser Generator
&lt;/h2&gt;

&lt;p&gt;I built a 100% client-side, zero-login &lt;strong&gt;Laravel MCP Config Generator&lt;/strong&gt; that outputs ready-to-paste JSON for all of them in one click:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Try it free:&lt;/strong&gt; &lt;a href="https://stratosapp.dev/tools/laravel-mcp-config-generator/" rel="noopener noreferrer"&gt;https://stratosapp.dev/tools/laravel-mcp-config-generator/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You pick your AI client, paste your local loopback MCP endpoint (&lt;code&gt;http://127.0.0.1:9921/mcp&lt;/code&gt;) and session Bearer token, and get the exact file path + schema without guessing field names.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. How Project-Scoped Local MCP Works Safely
&lt;/h2&gt;

&lt;p&gt;When connecting an AI coding agent to your local Laravel stack, you want &lt;strong&gt;zero-friction read context&lt;/strong&gt; without letting a rogue prompt silently wipe a database:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Continuous Read-Only Context:&lt;/strong&gt; Site metadata (&lt;code&gt;get_sites&lt;/code&gt;), database table schemas &amp;amp; foreign keys (&lt;code&gt;get_schema&lt;/code&gt;), bounded &lt;code&gt;laravel.log&lt;/code&gt; tails (&lt;code&gt;read_logs&lt;/code&gt;), HTTP timings (&lt;code&gt;read_http_requests&lt;/code&gt;), and captured dumps (&lt;code&gt;read_dumps&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-Loop Execution:&lt;/strong&gt; Mutating tools (&lt;code&gt;run_tinker&lt;/code&gt;, &lt;code&gt;query_database&lt;/code&gt;, &lt;code&gt;run_artisan&lt;/code&gt;) queue for an explicit native macOS approval prompt per call instead of executing blindly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Loopback-Only Transport:&lt;/strong&gt; Binds strictly to &lt;code&gt;127.0.0.1:9921&lt;/code&gt; with Host/Origin checks and ephemeral session Bearer tokens.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Open-Source macOS Diagnostic Toolkit (MIT)
&lt;/h2&gt;

&lt;p&gt;If you're also troubleshooting local &lt;code&gt;.test&lt;/code&gt; SSL certificates, benchmarking Docker Desktop VirtioFS vs native APFS PHP-FPM sockets, or migrating off Laravel Sail, grab our 3 read-only bash scripts on GitHub:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub (MIT):&lt;/strong&gt; &lt;a href="https://github.com/khorshedobs/macos-php-laravel-toolkit" rel="noopener noreferrer"&gt;https://github.com/khorshedobs/macos-php-laravel-toolkit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Local AI MCP Docs:&lt;/strong&gt; &lt;a href="https://stratosapp.dev/docs/local-ai-mcp/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/local-ai-mcp/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stratos for macOS (Native Swift, Free Forever Core):&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;/ul&gt;

&lt;p&gt;Which AI editor are you pairing with Laravel right now — Cursor, Claude Code, Windsurf, or VS Code? Let me know if you want another client schema added to the generator!&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>cursor</category>
      <category>mcp</category>
      <category>php</category>
    </item>
    <item>
      <title>Benchmarking PHP 8.6 vs 8.5 on Apple Silicon: Native FPM Unix Sockets vs Docker Desktop VirtioFS</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Sat, 28 Nov 2026 01:48:22 +0000</pubDate>
      <link>https://dev.to/stratos_mac/benchmarking-php-86-vs-85-on-apple-silicon-native-fpm-unix-sockets-vs-docker-desktop-virtiofs-56p4</link>
      <guid>https://dev.to/stratos_mac/benchmarking-php-86-vs-85-on-apple-silicon-native-fpm-unix-sockets-vs-docker-desktop-virtiofs-56p4</guid>
      <description>&lt;p&gt;Every time a developer complains that Laravel or WordPress feels sluggish on an M3 or M4 MacBook, someone replies &lt;em&gt;"Just use Docker!"&lt;/em&gt; — and someone else replies &lt;em&gt;"Just go native!"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Instead of arguing in the abstract, let's look at &lt;strong&gt;why&lt;/strong&gt; file-heavy PHP frameworks behave differently on macOS vs Linux, and share a &lt;strong&gt;read-only MIT bash script&lt;/strong&gt; you can run on your own Mac in 15 seconds to measure the real difference.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The macOS VirtioFS Tax on PHP Autoloaders
&lt;/h2&gt;

&lt;p&gt;A single uncached Laravel or WordPress request touches &lt;strong&gt;hundreds to thousands of PHP files&lt;/strong&gt; across &lt;code&gt;vendor/&lt;/code&gt;, compiled Blade views, and config caches.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On &lt;strong&gt;Linux&lt;/strong&gt;, Docker bind mounts hit the host kernel VFS directly with negligible overhead.&lt;/li&gt;
&lt;li&gt;On &lt;strong&gt;macOS&lt;/strong&gt;, Docker Desktop must boot a Linux VM (&lt;code&gt;Apple Virtualization Framework&lt;/code&gt; + &lt;code&gt;VirtioFS&lt;/code&gt;) and marshal every &lt;code&gt;stat()&lt;/code&gt;, &lt;code&gt;open()&lt;/code&gt;, and &lt;code&gt;realpath()&lt;/code&gt; call across the VM boundary — while keeping gigabytes of unified RAM allocated even when your editor is closed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When you instead run native macOS Darwin binaries — Nginx talking to per-version &lt;strong&gt;PHP-FPM Unix domain sockets&lt;/strong&gt; (&lt;code&gt;php83-fpm.sock&lt;/code&gt;, &lt;code&gt;php84-fpm.sock&lt;/code&gt;, &lt;code&gt;php85-fpm.sock&lt;/code&gt;, &lt;code&gt;php86-fpm.sock&lt;/code&gt;) directly over APFS — the VM boundary disappears completely.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Benchmark Your Own Mac (Read-Only, Zero Changes)
&lt;/h2&gt;

&lt;p&gt;You can run our open-source diagnostic script directly inside any local Laravel project:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://stratosapp.dev/tools/macos-laravel-stack-benchmark.sh &lt;span class="o"&gt;|&lt;/span&gt; bash -s -- .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;(Inspect the full source first at &lt;a href="https://github.com/khorshedobs/macos-php-laravel-toolkit" rel="noopener noreferrer"&gt;khorshedobs/macos-php-laravel-toolkit&lt;/a&gt; — 100% read-only MIT bash!)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It prints three concrete metrics for your machine:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Live Process Memory (RSS MB):&lt;/strong&gt; Sums &lt;code&gt;nginx&lt;/code&gt;, &lt;code&gt;dnsmasq&lt;/code&gt;, and &lt;code&gt;php-fpm&lt;/code&gt; vs active Docker Desktop / virtualization VM processes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;20-Iteration PHP CLI Cold Startup (&lt;code&gt;php -r "echo 1;"&lt;/code&gt;):&lt;/strong&gt; Average, min, and max milliseconds per spawn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;10-Iteration Laravel &lt;code&gt;php artisan --version&lt;/code&gt; Boot Latency:&lt;/strong&gt; Measures real Composer autoloader + framework container bootstrap time.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  3. Running PHP 8.4, 8.5, and 8.6 Side-by-Side Without Container Rebuilds
&lt;/h2&gt;

&lt;p&gt;One reason developers reached for Docker in the past was testing a new PHP release (like &lt;strong&gt;PHP 8.6&lt;/strong&gt; this week!) without breaking older client sites.&lt;/p&gt;

&lt;p&gt;With isolated Unix sockets, you get the exact same isolation natively:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Client App A stays pinned to &lt;code&gt;unix:/.../php83-fpm.sock&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Client App B stays pinned to &lt;code&gt;unix:/.../php84-fpm.sock&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Your PHP 8.6 upgrade branch runs in a &lt;code&gt;git worktree&lt;/code&gt; on &lt;code&gt;unix:/.../php86-fpm.sock&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Zero &lt;code&gt;brew unlink&lt;/code&gt;, zero port 9000 collisions, and zero VM rebuilds.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Tools &amp;amp; References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source macOS PHP/Laravel Companion Toolkit (MIT):&lt;/strong&gt; &lt;a href="https://github.com/khorshedobs/macos-php-laravel-toolkit" rel="noopener noreferrer"&gt;https://github.com/khorshedobs/macos-php-laravel-toolkit&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free Browser Laravel MCP Config Generator (Cursor / Claude Code / Windsurf):&lt;/strong&gt; &lt;a href="https://stratosapp.dev/tools/laravel-mcp-config-generator/" rel="noopener noreferrer"&gt;https://stratosapp.dev/tools/laravel-mcp-config-generator/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full Benchmark &amp;amp; Architecture Write-Up:&lt;/strong&gt; &lt;a href="https://stratosapp.dev/docs/benchmark-php-8-6-vs-8-5-apple-silicon-docker-vs-native/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/benchmark-php-8-6-vs-8-5-apple-silicon-docker-vs-native/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stratos for macOS (Native Swift Stack, Free Forever Core):&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;/ul&gt;

&lt;p&gt;Drop your own &lt;code&gt;macos-laravel-stack-benchmark.sh&lt;/code&gt; numbers (M1/M2/M3/M4 + Docker vs Native) in the comments — would love to compare across different MacBooks!&lt;/p&gt;

</description>
      <category>php</category>
      <category>laravel</category>
      <category>macos</category>
      <category>docker</category>
    </item>
    <item>
      <title>How to Run PHP 8.6 Side-by-Side With PHP 8.3–8.5 on macOS Without Breaking Laravel</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Tue, 24 Nov 2026 17:55:29 +0000</pubDate>
      <link>https://dev.to/stratos_mac/how-to-run-php-86-side-by-side-with-php-83-85-on-macos-without-breaking-laravel-2451</link>
      <guid>https://dev.to/stratos_mac/how-to-run-php-86-side-by-side-with-php-83-85-on-macos-without-breaking-laravel-2451</guid>
      <description>&lt;p&gt;PHP 8.6 is officially out — and right on cue, running a careless &lt;code&gt;brew upgrade php&lt;/code&gt; is the fastest way to break three active Laravel or WordPress projects on your Mac.&lt;/p&gt;

&lt;p&gt;Between strict deprecation changes, Composer platform checks, and Homebrew's dynamic library bumps (&lt;code&gt;icu4c&lt;/code&gt;, &lt;code&gt;openssl&lt;/code&gt;), upgrading a single global PHP binary on macOS almost always causes avoidable downtime.&lt;/p&gt;

&lt;p&gt;Here is the clean way to run &lt;strong&gt;PHP 8.6 side-by-side with PHP 8.3–8.5&lt;/strong&gt; on Apple Silicon (M1–M4) and Intel Macs using isolated PHP-FPM Unix sockets.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Test PHP 8.6 Safely via Homebrew Without Changing Global PATH
&lt;/h2&gt;

&lt;p&gt;Homebrew ships the newest stable release under the unversioned &lt;code&gt;php&lt;/code&gt; formula (&lt;code&gt;8.6.0&lt;/code&gt;), while older series live under &lt;code&gt;php@8.4&lt;/code&gt;, &lt;code&gt;php@8.3&lt;/code&gt;, etc. You can install PHP 8.6 without disturbing your daily driver:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install PHP 8.6 alongside your existing PHP 8.4/8.3&lt;/span&gt;
brew install php

&lt;span class="c"&gt;# Verify PHP 8.6 directly via its opt path (Apple Silicon)&lt;/span&gt;
/opt/homebrew/opt/php/bin/php -v

&lt;span class="c"&gt;# Check Composer platform compatibility without mutating composer.lock&lt;/span&gt;
/opt/homebrew/opt/php/bin/php &lt;span class="nv"&gt;$(&lt;/span&gt;which composer&lt;span class="o"&gt;)&lt;/span&gt; check-platform-reqs

&lt;span class="c"&gt;# Run your test suite specifically on PHP 8.6&lt;/span&gt;
/opt/homebrew/opt/php/bin/php artisan &lt;span class="nb"&gt;test&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;(On Intel Macs, replace &lt;code&gt;/opt/homebrew&lt;/code&gt; with &lt;code&gt;/usr/local&lt;/code&gt;.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Isolate Web Requests With Per-Version PHP-FPM Unix Sockets
&lt;/h2&gt;

&lt;p&gt;Instead of routing every local Nginx virtual host through a single &lt;code&gt;php-fpm.sock&lt;/code&gt; (or port &lt;code&gt;9000&lt;/code&gt; where versions collide), give each PHP minor version its own Unix socket:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Legacy client app stays pinned to PHP 8.3
&lt;/span&gt;&lt;span class="n"&gt;location&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt; \&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;$ &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fastcgi_pass&lt;/span&gt; &lt;span class="n"&gt;unix&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;php83&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fpm&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sock&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;include&lt;/span&gt; &lt;span class="n"&gt;fastcgi_params&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;fastcgi_param&lt;/span&gt; &lt;span class="no"&gt;SCRIPT_FILENAME&lt;/span&gt; $&lt;span class="n"&gt;document_root&lt;/span&gt;$&lt;span class="n"&gt;fastcgi_script_name&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c1"&gt;# Upgrade test branch runs PHP 8.6 in parallel
&lt;/span&gt;&lt;span class="n"&gt;location&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt; \&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;$ &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fastcgi_pass&lt;/span&gt; &lt;span class="n"&gt;unix&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tmp&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;php86&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;fpm&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sock&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;include&lt;/span&gt; &lt;span class="n"&gt;fastcgi_params&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;fastcgi_param&lt;/span&gt; &lt;span class="no"&gt;SCRIPT_FILENAME&lt;/span&gt; $&lt;span class="n"&gt;document_root&lt;/span&gt;$&lt;span class="n"&gt;fastcgi_script_name&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Because each pool binds to its own socket file, PHP 8.3, 8.4, 8.5, and 8.6 can serve requests simultaneously with zero port conflicts and zero restarts when switching projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Pair Side-by-Side PHP With Git Worktrees
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git worktree add ../myapp-php86 -b chore/php-8.6-upgrade
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now you can open &lt;code&gt;https://myapp.test&lt;/code&gt; (PHP 8.4) and &lt;code&gt;https://php86.myapp.test&lt;/code&gt; (PHP 8.6) side-by-side in two browser tabs, compare responses, and run &lt;code&gt;php artisan test&lt;/code&gt; without ever stashing work or touching your main branch.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Automating Isolated Pools on macOS
&lt;/h2&gt;

&lt;p&gt;If you'd rather not hand-maintain Nginx &lt;code&gt;fastcgi_pass&lt;/code&gt; configs, Keychain Root CAs, or FPM pool files, &lt;strong&gt;&lt;a href="https://stratosapp.dev" rel="noopener noreferrer"&gt;Stratos&lt;/a&gt;&lt;/strong&gt; automates per-site PHP-FPM Unix sockets, Keychain-trusted &lt;code&gt;.test&lt;/code&gt; HTTPS, automatic Git worktree branch subdomains, MailCatcher (port 1025), and DumpServer (port 9912) in a native Swift macOS app.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full macOS PHP 8.6 Side-by-Side Guide:&lt;/strong&gt; &lt;a href="https://stratosapp.dev/docs/install-php-8-6-macos-side-by-side/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/install-php-8-6-macos-side-by-side/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free Native macOS Download (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;/ul&gt;

&lt;p&gt;Have you tested your Laravel or WordPress stack on PHP 8.6 yet? Drop any extension or package gotchas you've hit in the comments!&lt;/p&gt;

</description>
      <category>php</category>
      <category>laravel</category>
      <category>macos</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Giving Cursor &amp; Claude Code Live Access to Local Laravel DB Schemas &amp; Logs via MCP</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Mon, 23 Nov 2026 00:46:09 +0000</pubDate>
      <link>https://dev.to/stratos_mac/giving-cursor-claude-code-live-access-to-local-laravel-db-schemas-logs-via-mcp-5e4g</link>
      <guid>https://dev.to/stratos_mac/giving-cursor-claude-code-live-access-to-local-laravel-db-schemas-logs-via-mcp-5e4g</guid>
      <description>&lt;p&gt;If you use &lt;strong&gt;Cursor&lt;/strong&gt;, &lt;strong&gt;Claude Code&lt;/strong&gt;, &lt;strong&gt;Claude Desktop&lt;/strong&gt;, or &lt;strong&gt;Windsurf&lt;/strong&gt; on a Laravel project, you know the most annoying loop in AI-assisted coding:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You ask the agent to write an Eloquent migration or fix a 500 error.&lt;/li&gt;
&lt;li&gt;It hallucinates a column name or asks you to paste &lt;code&gt;storage/logs/laravel.log&lt;/code&gt;, your table schema, or the last failed webhook payload.&lt;/li&gt;
&lt;li&gt;You manually run &lt;code&gt;php artisan ...&lt;/code&gt;, copy-paste 80 lines of terminal output into the chat, and repeat 20 times a day.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; solves this cleanly — instead of copy-pasting state, your local dev environment exposes structured, read-only (or human-approved) context directly to your AI editor over localhost loopback.&lt;/p&gt;

&lt;p&gt;Here's how we architected the local MCP bridge in &lt;strong&gt;&lt;a href="https://stratosapp.dev/docs/local-ai-mcp/" rel="noopener noreferrer"&gt;Stratos v1.7.2&lt;/a&gt;&lt;/strong&gt; for macOS Laravel &amp;amp; PHP developers — and the security boundaries that make it safe to use on real client projects.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. What Your AI Editor Actually Needs (Without Exposing Secrets)
&lt;/h2&gt;

&lt;p&gt;When debugging a local Laravel app, 90% of AI mistakes happen because the model is missing 4 live facts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Exact Database Schema:&lt;/strong&gt; Real table names, column types, indexes, and foreign keys from your local SQLite, MySQL, or PostgreSQL database.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Active Runtime Context:&lt;/strong&gt; Which PHP version (&lt;code&gt;8.1&lt;/code&gt;–&lt;code&gt;8.5&lt;/code&gt;) and &lt;code&gt;.test&lt;/code&gt; URL the project is actually running on.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recent Exceptions &amp;amp; HTTP Traces:&lt;/strong&gt; The tail of &lt;code&gt;laravel.log&lt;/code&gt;, recent HTTP status codes / slow requests, and &lt;code&gt;dump()&lt;/code&gt; payloads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Safe Verification Execution:&lt;/strong&gt; Running &lt;code&gt;php artisan test&lt;/code&gt;, &lt;code&gt;php artisan migrate:status&lt;/code&gt;, or a read-only SQL query to verify a fix.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Notice what the AI editor does &lt;strong&gt;not&lt;/strong&gt; need: raw &lt;code&gt;.env&lt;/code&gt; production secrets, unrestricted shell access, or an open LAN port.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Architecture &amp;amp; Security Boundaries
&lt;/h2&gt;

&lt;p&gt;In Stratos, the MCP bridge is designed around &lt;strong&gt;strict local-first safety&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Off by Default &amp;amp; Loopback-Only:&lt;/strong&gt; Binds strictly to &lt;code&gt;127.0.0.1&lt;/code&gt; with per-session bearer tokens and &lt;code&gt;Host&lt;/code&gt;/&lt;code&gt;Origin&lt;/code&gt; validation so external websites or LAN devices can never reach it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1-Click Editor Config (Non-Destructive):&lt;/strong&gt; Installs into &lt;strong&gt;Cursor&lt;/strong&gt;, &lt;strong&gt;Claude Code&lt;/strong&gt;, &lt;strong&gt;Claude Desktop&lt;/strong&gt; (via a bundled stdio relay), and &lt;strong&gt;Windsurf&lt;/strong&gt; while backing up and preserving all your existing MCP servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-Only Context Free Forever:&lt;/strong&gt; Site metadata, active PHP versions, Nginx paths, and SQLite/MySQL/PostgreSQL table schemas with foreign keys are available on the &lt;strong&gt;Free&lt;/strong&gt; tier with zero setup.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-Loop Execution (Pro):&lt;/strong&gt; Any PHP, SQL, or Artisan command requested by an agent pauses behind a &lt;strong&gt;native macOS approval dialog&lt;/strong&gt; inside Stratos so you inspect the exact command before it executes.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Real Workflow Example (Debugging an N+1 Query in 15 Seconds)
&lt;/h2&gt;

&lt;p&gt;With the MCP bridge running in Stratos:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Hit your slow local endpoint (&lt;code&gt;https://myapp.test/dashboard&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Cursor&lt;/strong&gt; or &lt;strong&gt;Claude Code&lt;/strong&gt;, ask:
&amp;gt; &lt;em&gt;"Check the latest slow request and repeated SQL queries for &lt;code&gt;myapp&lt;/code&gt;, inspect the &lt;code&gt;orders&lt;/code&gt; and &lt;code&gt;users&lt;/code&gt; schema, and suggest the exact Eloquent eager-loading fix."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;The agent reads the real schema + slow query trace directly from Stratos's local MCP server and writes the exact &lt;code&gt;-&amp;gt;with(['user:id,name'])&lt;/code&gt; fix on the first try — zero copy-pasting.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Try It on macOS (Free Core + BFCM20 Deal)
&lt;/h2&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 MCP Setup Guide:&lt;/strong&gt; &lt;a href="https://stratosapp.dev/docs/local-ai-mcp/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/local-ai-mcp/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Manual Editor Config Examples (GitHub):&lt;/strong&gt; &lt;a href="https://github.com/khorshedobs/stratos-mcp-guide" rel="noopener noreferrer"&gt;https://github.com/khorshedobs/stratos-mcp-guide&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stratos Core (including read-only MCP schema + site context) is &lt;strong&gt;free forever&lt;/strong&gt;. Pro unlocks runtime log tails, DumpServer/Request Inspector MCP telemetry, and approved PHP/SQL/Artisan execution (&lt;code&gt;$39/yr&lt;/code&gt; or &lt;code&gt;$89&lt;/code&gt; Founder Lifetime — currently &lt;strong&gt;20% off with &lt;code&gt;BFCM20&lt;/code&gt;&lt;/strong&gt; through Nov 30, 2026).&lt;/p&gt;

&lt;p&gt;What MCP tools do you wish your local Laravel stack exposed to Cursor or Claude Code? Drop ideas in the comments!&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>mcp</category>
      <category>ai</category>
      <category>cursor</category>
    </item>
    <item>
      <title>DDEV, Lando &amp; Valet+DBngin vs Native Swift on Apple Silicon: Fixing Port 3306/6379 Conflicts &amp; VirtioFS Lag</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Sun, 15 Nov 2026 08:06:42 +0000</pubDate>
      <link>https://dev.to/stratos_mac/ddev-lando-valetdbngin-vs-native-swift-on-apple-silicon-fixing-port-33066379-conflicts--1ggc</link>
      <guid>https://dev.to/stratos_mac/ddev-lando-valetdbngin-vs-native-swift-on-apple-silicon-fixing-port-33066379-conflicts--1ggc</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I built &lt;a href="https://stratosapp.dev" rel="noopener noreferrer"&gt;Stratos&lt;/a&gt; and open-sourced the MIT helper scripts linked below.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every macOS PHP and Laravel developer eventually hits the same fork in the road: stay inside a Docker wrapper (&lt;strong&gt;DDEV&lt;/strong&gt;, &lt;strong&gt;Lando&lt;/strong&gt;, &lt;strong&gt;Laravel Sail&lt;/strong&gt;) or run native PHP-FPM and Nginx directly on Apple Silicon (&lt;strong&gt;Laravel Valet + DBngin&lt;/strong&gt;, Homebrew, or a dedicated native macOS stack).&lt;/p&gt;

&lt;p&gt;Both paths solve real problems—and both break in very specific ways. Here is an honest look at the architectural trade-offs, the terminal commands to diagnose port collisions and file-sync bottlenecks, and three small MIT scripts you can run right now to check your own Mac.&lt;/p&gt;




&lt;h2&gt;
  
  
  Honest Trade-Offs: Docker Wrappers vs Native APFS
&lt;/h2&gt;

&lt;h3&gt;
  
  
  When DDEV, Lando, or Laravel Sail Are the Better Choice
&lt;/h3&gt;

&lt;p&gt;Docker-based tools are genuinely hard to beat when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mixed-OS team parity matters&lt;/strong&gt;: Your team splits across macOS, Linux, and Windows and needs an identical Ubuntu container image, PHP build flags, and system packages everywhere.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Linux services are required&lt;/strong&gt;: Your app relies on unusual OS-level libraries or exotic container daemons that do not have clean macOS builds.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Where Native Apple Silicon Stacks Excel
&lt;/h3&gt;

&lt;p&gt;On an M1/M2/M3/M4 MacBook, running &lt;strong&gt;DDEV&lt;/strong&gt;, &lt;strong&gt;Lando&lt;/strong&gt;, or &lt;strong&gt;Sail&lt;/strong&gt; still requires Docker Desktop, OrbStack, Colima, or Rancher Desktop to boot a Linux VM and bridge thousands of Composer/vendor files across &lt;strong&gt;VirtioFS&lt;/strong&gt; or &lt;strong&gt;Mutagen&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Running ARM64/Universal Nginx + PHP-FPM directly on macOS against local APFS avoids:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hypervisor VM idle RAM consumption and battery drain&lt;/li&gt;
&lt;li&gt;VirtioFS / Mutagen file-sync lag during &lt;code&gt;composer install&lt;/code&gt;, &lt;code&gt;phpunit&lt;/code&gt;, or &lt;code&gt;php artisan&lt;/code&gt; cold starts&lt;/li&gt;
&lt;li&gt;Container network NAT layers on &lt;code&gt;.test&lt;/code&gt; domains and Xdebug&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why Traditional Native Stacks (&lt;code&gt;Valet + DBngin + Homebrew&lt;/code&gt;) Still Break
&lt;/h2&gt;

&lt;p&gt;Even developers who leave Docker often run into two recurring headaches with piecemeal Homebrew setups:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;dyld&lt;/code&gt; OpenSSL / ICU library mismatches after &lt;code&gt;brew upgrade&lt;/code&gt;&lt;/strong&gt;: Upgrading one Homebrew formula silently swaps a shared &lt;code&gt;.dylib&lt;/code&gt; underneath your active PHP binary, causing &lt;code&gt;dyld: Library not loaded&lt;/code&gt; or Nginx &lt;code&gt;502 Bad Gateway&lt;/code&gt; errors mid-sprint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Silent daemon collisions on ports &lt;code&gt;3306&lt;/code&gt;, &lt;code&gt;5432&lt;/code&gt;, &lt;code&gt;6379&lt;/code&gt;, &lt;code&gt;80&lt;/code&gt;, and &lt;code&gt;443&lt;/code&gt;&lt;/strong&gt;: Having Homebrew MySQL, DBngin, Docker Desktop, and local Redis daemons partially running in the background leaves stale listeners bound to &lt;code&gt;127.0.0.1&lt;/code&gt; or &lt;code&gt;0.0.0.0&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Practical Diagnostic Commands for Port &lt;code&gt;3306&lt;/code&gt; &amp;amp; &lt;code&gt;6379&lt;/code&gt; Collisions
&lt;/h2&gt;

&lt;p&gt;Before wiping containers or reinstalling Homebrew, inspect which PID actually holds each loopback socket:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Check what is listening on MySQL / MariaDB (3306)&lt;/span&gt;
lsof -nP -iTCP:3306 -sTCP:LISTEN

&lt;span class="c"&gt;# Check what is listening on Redis (6379)&lt;/span&gt;
lsof -nP -iTCP:6379 -sTCP:LISTEN

&lt;span class="c"&gt;# Check Homebrew-managed background services&lt;/span&gt;
brew services list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  MySQL Unix Socket (&lt;code&gt;/tmp/mysql.sock&lt;/code&gt;) Fallback Gotcha
&lt;/h3&gt;

&lt;p&gt;When CLI tools (&lt;code&gt;php artisan migrate&lt;/code&gt;, &lt;code&gt;mysql&lt;/code&gt;) connect to &lt;code&gt;localhost&lt;/code&gt; instead of &lt;code&gt;127.0.0.1&lt;/code&gt;, libmysqlclient defaults to the Unix domain socket &lt;code&gt;/tmp/mysql.sock&lt;/code&gt; rather than TCP port &lt;code&gt;3306&lt;/code&gt;. If you have multiple MySQL/MariaDB installations or DBngin instances on your Mac, two common fixes are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicitly set &lt;code&gt;DB_HOST=127.0.0.1&lt;/code&gt; in &lt;code&gt;.env&lt;/code&gt; so PHP connects over TCP to the expected port.&lt;/li&gt;
&lt;li&gt;Verify no stale &lt;code&gt;/tmp/mysql.sock&lt;/code&gt; remains owned by a dead Homebrew/Docker daemon before starting your active database service.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3 MIT Open-Source Helper Scripts You Can Inspect &amp;amp; Run Standalone
&lt;/h2&gt;

&lt;p&gt;If you want read-only diagnostics on your own machine before changing anything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/khorshedobs/macos-laravel-stack-benchmark" rel="noopener noreferrer"&gt;macos-laravel-stack-benchmark&lt;/a&gt;&lt;/strong&gt; — Measures actual RSS memory (&lt;code&gt;ps -axo rss,comm&lt;/code&gt;) of native &lt;code&gt;nginx&lt;/code&gt; / &lt;code&gt;php-fpm&lt;/code&gt; / &lt;code&gt;dnsmasq&lt;/code&gt; vs Docker Desktop VM processes plus 20-iteration PHP CLI startup and 10-iteration &lt;code&gt;artisan --version&lt;/code&gt; timings on APFS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/khorshedobs/macos-local-ssl-doctor" rel="noopener noreferrer"&gt;macos-local-ssl-doctor&lt;/a&gt;&lt;/strong&gt; — Read-only diagnostic check for &lt;code&gt;.test&lt;/code&gt; &lt;code&gt;/etc/resolver&lt;/code&gt; DNS routing, port &lt;code&gt;80&lt;/code&gt;/&lt;code&gt;443&lt;/code&gt; listeners, and macOS Keychain Root CA trust.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/khorshedobs/laravel-docker-to-native-migrator" rel="noopener noreferrer"&gt;laravel-docker-to-native-migrator&lt;/a&gt;&lt;/strong&gt; — Non-destructive script that inspects &lt;code&gt;docker-compose.yml&lt;/code&gt; / &lt;code&gt;compose.yaml&lt;/code&gt; + &lt;code&gt;composer.json&lt;/code&gt; and writes a side-by-side &lt;code&gt;.env.native&lt;/code&gt; and &lt;code&gt;.stratos.json&lt;/code&gt; without touching your existing &lt;code&gt;.env&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Free Forever Core vs Optional Pro (Plus BFCM20)
&lt;/h2&gt;

&lt;p&gt;Stratos isolates bundled Universal Nginx, PHP &lt;code&gt;8.1&lt;/code&gt;–&lt;code&gt;8.5&lt;/code&gt; FPM pools, Dnsmasq &lt;code&gt;.test&lt;/code&gt; HTTPS, and Site Doctor BSD socket scans inside a native Swift app so &lt;code&gt;brew upgrade&lt;/code&gt; never breaks your stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stratos Free ($0 Forever)&lt;/strong&gt;: Multi-PHP &lt;code&gt;8.1&lt;/code&gt;–&lt;code&gt;8.5&lt;/code&gt; hosting, Keychain-trusted &lt;code&gt;.test&lt;/code&gt; HTTPS, CLI companion, Site Doctor diagnostics, 10-email MailCatcher, DumpServer (&lt;code&gt;9912&lt;/code&gt;), read-only Free MCP (&lt;code&gt;http://127.0.0.1:9921/mcp&lt;/code&gt;), plus daily previews (3 Visual Tinker runs/day, 1 ER diagram/day, 15m/day Cloudflare Tunnel).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stratos Pro / Founder Lifetime&lt;/strong&gt;: Unlocks unlimited Visual Tinker, ER diagrams, persistent Cloudflare tunnels, DB restore snapshots, Redis UI lifecycle, Request Inspector cURL replay, and human-approved MCP actions.

&lt;ul&gt;
&lt;li&gt;Regular pricing: &lt;strong&gt;$39/yr&lt;/strong&gt; Pro Annual (2 Macs), &lt;strong&gt;$89&lt;/strong&gt; Founder Lifetime once (3 Macs), &lt;strong&gt;$129/yr&lt;/strong&gt; Team (5 seats).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BFCM20 (Nov 15–30, 2026 — 20% off)&lt;/strong&gt;: Founder Lifetime &lt;strong&gt;$89 → $71.20&lt;/strong&gt; once (3 Macs), Pro Annual &lt;strong&gt;$39/yr → $31.20/yr&lt;/strong&gt; (2 Macs), Team &lt;strong&gt;$129/yr → $103.20/yr&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Explore the guides and interactive stack calculator:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://stratosapp.dev/compare/" rel="noopener noreferrer"&gt;Interactive Stack &amp;amp; Savings Calculator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://stratosapp.dev/docs/stratos-vs-ddev-lando-macos/" rel="noopener noreferrer"&gt;Stratos vs DDEV &amp;amp; Lando on macOS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://stratosapp.dev/docs/fix-mysql-3306-redis-6379-port-in-use-macos/" rel="noopener noreferrer"&gt;Fix MySQL (3306) &amp;amp; Redis (6379) Port Already in Use on macOS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>docker</category>
      <category>macos</category>
    </item>
    <item>
      <title>Zero-Config Xdebug 3 in Cursor, VS Code &amp; PhpStorm on macOS (Port 9003 Without Docker pathMappings)</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Sun, 15 Nov 2026 08:05:22 +0000</pubDate>
      <link>https://dev.to/stratos_mac/zero-config-xdebug-3-in-cursor-vs-code-phpstorm-on-macos-port-9003-without-docker-pathmappings-2ii6</link>
      <guid>https://dev.to/stratos_mac/zero-config-xdebug-3-in-cursor-vs-code-phpstorm-on-macos-port-9003-without-docker-pathmappings-2ii6</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I am the creator of &lt;a href="https://stratosapp.dev" rel="noopener noreferrer"&gt;Stratos&lt;/a&gt;, a native macOS local PHP/Laravel stack.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you have ever spent 45 minutes trying to figure out why an Xdebug breakpoint silently never hits inside Docker Desktop for Mac, the culprit is almost never your PHP code. It is the translation layer between the Linux container and macOS.&lt;/p&gt;

&lt;p&gt;Here is why step-debugging breaks so often in Docker—and how running native Apple Silicon/Universal PHP-FPM (&lt;code&gt;8.1&lt;/code&gt;–&lt;code&gt;8.5&lt;/code&gt;) eliminates &lt;code&gt;host.docker.internal&lt;/code&gt; and &lt;code&gt;pathMappings&lt;/code&gt; friction completely.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Docker Xdebug Breaks on macOS
&lt;/h2&gt;

&lt;p&gt;When PHP runs inside a Linux container, Xdebug initiates an outbound TCP connection back to your IDE on port &lt;code&gt;9003&lt;/code&gt;. That introduces three failure points on every restart:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;host.docker.internal&lt;/code&gt; routing &amp;amp; firewalls&lt;/strong&gt;: Depending on Docker Desktop / Colima / OrbStack networking modes and macOS firewall rules, &lt;code&gt;xdebug.client_host=host.docker.internal&lt;/code&gt; can drop packets or resolve inconsistently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Container-to-Mac &lt;code&gt;pathMappings&lt;/code&gt; drift&lt;/strong&gt;: PHP inside Docker thinks your controller lives at &lt;code&gt;/var/www/html/app/Http/Controllers/HomeController.php&lt;/code&gt;, while Cursor, VS Code, or PhpStorm sees &lt;code&gt;/Users/you/Sites/my-app/app/Http/Controllers/HomeController.php&lt;/code&gt;. One mismatched trailing slash or symlink causes every breakpoint to be ignored.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Always-on overhead&lt;/strong&gt;: Leaving &lt;code&gt;xdebug.start_with_request=yes&lt;/code&gt; enabled inside shared container images slows down every request—even when your IDE listener is off.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Why Native macOS PHP-FPM Maps 1:1 on &lt;code&gt;127.0.0.1:9003&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;When PHP-FPM runs directly on macOS (without a Linux VM), PHP executes against the exact same APFS paths your editor already has open. There is no container filesystem boundary and no NAT translation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Direct loopback&lt;/strong&gt;: PHP connects straight to &lt;code&gt;127.0.0.1:9003&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1:1 file paths&lt;/strong&gt;: No &lt;code&gt;pathMappings&lt;/code&gt; block is required in &lt;code&gt;.vscode/launch.json&lt;/code&gt;, and PhpStorm needs no server path mapping table.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-version isolation&lt;/strong&gt;: Each PHP FPM pool (&lt;code&gt;8.1&lt;/code&gt;, &lt;code&gt;8.2&lt;/code&gt;, &lt;code&gt;8.3&lt;/code&gt;, &lt;code&gt;8.4&lt;/code&gt;, &lt;code&gt;8.5&lt;/code&gt;) loads its own extensions cleanly.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Exact Xdebug 3 &lt;code&gt;php.ini&lt;/code&gt; Configuration
&lt;/h3&gt;

&lt;p&gt;In Stratos, toggling &lt;strong&gt;Stratos → Settings → PHP Extensions → Xdebug&lt;/strong&gt; applies these Xdebug 3 directives to the selected PHP version and restarts its FPM pool in one click:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="na"&gt;zend_extension&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;xdebug&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;so&lt;/span&gt;
&lt;span class="na"&gt;xdebug.mode&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;develop&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;debug&lt;/span&gt;
&lt;span class="na"&gt;xdebug.start_with_request&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;yes&lt;/span&gt;
&lt;span class="na"&gt;xdebug.client_port&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;9003&lt;/span&gt;
&lt;span class="na"&gt;xdebug.client_host&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;127.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;
&lt;span class="na"&gt;xdebug.idekey&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;PHPSTORM&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can keep Xdebug enabled only while actively debugging and toggle it back off in one click when benchmarking or running tests.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1: Cursor / VS Code &lt;code&gt;.vscode/launch.json&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Install the standard &lt;strong&gt;PHP Debug&lt;/strong&gt; extension (&lt;code&gt;xdebug.php-debug&lt;/code&gt;) in Cursor or VS Code, then add &lt;code&gt;.vscode/launch.json&lt;/code&gt; at your project root:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0.2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"configurations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Listen for Xdebug (Stratos Native)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"php"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"request"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"launch"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"port"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;9003&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"hostname"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"127.0.0.1"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice there is no &lt;code&gt;pathMappings&lt;/code&gt; key at all. Open any Laravel route or controller, set a breakpoint, press &lt;strong&gt;F5&lt;/strong&gt; (or &lt;strong&gt;Run → Start Debugging&lt;/strong&gt;), and reload &lt;code&gt;https://your-site.test&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 2: PhpStorm Zero-Mapping Setup
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open &lt;strong&gt;Settings → PHP → Debug&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Confirm &lt;strong&gt;Debug port&lt;/strong&gt; includes &lt;code&gt;9003&lt;/code&gt; and &lt;strong&gt;Can accept external connections&lt;/strong&gt; is checked.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Start Listening for PHP Debug Connections&lt;/strong&gt; (Telephone icon) in the top-right toolbar.&lt;/li&gt;
&lt;li&gt;Trigger your &lt;code&gt;.test&lt;/code&gt; URL in the browser or run &lt;code&gt;php artisan&lt;/code&gt; from the terminal.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Because PHP runs natively on macOS, PhpStorm matches the incoming file path directly without mapping &lt;code&gt;/var/www/html&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Troubleshooting Port &lt;code&gt;9003&lt;/code&gt; Conflicts &amp;amp; Profiling With SPX
&lt;/h2&gt;

&lt;p&gt;If breakpoints still fail to connect, verify nothing else (such as an older Xdebug daemon, stale SSH tunnel, or another IDE window) is holding port &lt;code&gt;9003&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;lsof -i :9003
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Make sure you do not have both Cursor/VS Code and PhpStorm listening on &lt;code&gt;9003&lt;/code&gt; simultaneously.&lt;/p&gt;

&lt;h3&gt;
  
  
  Use SPX Profiler for Flame Graphs Without Step-Debugging Overhead
&lt;/h3&gt;

&lt;p&gt;Step-debugging is great for inspecting state line-by-line, but Xdebug's &lt;code&gt;debug&lt;/code&gt; mode adds execution overhead when you actually want performance timings. For bottleneck hunting in Laravel requests, pair Xdebug with &lt;strong&gt;SPX Profiler&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Toggle &lt;strong&gt;SPX&lt;/strong&gt; on in Stratos Settings (while keeping Xdebug off when profiling).&lt;/li&gt;
&lt;li&gt;Append the query parameter to any local &lt;code&gt;.test&lt;/code&gt; URL:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://my-app.test/?SPX_KEY=dev&amp;amp;SPX_UI_URI=/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get interactive call flame graphs and memory/time attribution per function call without idle Xdebug pauses.&lt;/p&gt;




&lt;h2&gt;
  
  
  Free Forever Core Stack
&lt;/h2&gt;

&lt;p&gt;If you are moving off Docker Desktop on macOS, multi-PHP &lt;code&gt;8.1&lt;/code&gt;–&lt;code&gt;8.5&lt;/code&gt; serving, trusted &lt;code&gt;.test&lt;/code&gt; HTTPS, 1-click Xdebug/SPX toggles, Site Doctor port diagnostics, and the Free read-only MCP bridge (&lt;code&gt;http://127.0.0.1:9921/mcp&lt;/code&gt;) are all &lt;strong&gt;Free Forever ($0)&lt;/strong&gt; in Stratos—no subscription required for local hosting.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full Xdebug guide: &lt;a href="https://stratosapp.dev/docs/setup-xdebug-cursor-vscode-phpstorm-macos/" rel="noopener noreferrer"&gt;Setup Xdebug in Cursor, VS Code &amp;amp; PhpStorm on macOS (Port 9003)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Stack &amp;amp; cost comparison: &lt;a href="https://stratosapp.dev/compare/" rel="noopener noreferrer"&gt;Compare Stratos vs Herd Pro, Docker Desktop, DDEV, Valet &amp;amp; LocalWP&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>php</category>
      <category>laravel</category>
      <category>macos</category>
      <category>vscode</category>
    </item>
    <item>
      <title>How to Connect Cursor &amp; Claude Code to Your Local Laravel Database, Logs &amp; MailCatcher on macOS (Zero Docker)</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Sun, 15 Nov 2026 01:08:11 +0000</pubDate>
      <link>https://dev.to/stratos_mac/how-to-connect-cursor-claude-code-to-your-local-laravel-database-logs-mailcatcher-on-macos-4pgb</link>
      <guid>https://dev.to/stratos_mac/how-to-connect-cursor-claude-code-to-your-local-laravel-database-logs-mailcatcher-on-macos-4pgb</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclosure: I am the creator of Stratos (&lt;code&gt;stratosapp.dev&lt;/code&gt;), mentioned below alongside standalone open-source bash helpers you can run independently without installing Stratos.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you use &lt;strong&gt;Cursor&lt;/strong&gt;, &lt;strong&gt;Claude Code&lt;/strong&gt;, &lt;strong&gt;Claude Desktop&lt;/strong&gt;, or &lt;strong&gt;Windsurf&lt;/strong&gt; on a Laravel or PHP project on macOS, the hardest bottleneck is rarely code generation speed—it is &lt;strong&gt;context switching&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The model invents column names or foreign keys that don't match your local migrations.&lt;/li&gt;
&lt;li&gt;You copy-paste stack traces out of &lt;code&gt;storage/logs/laravel.log&lt;/code&gt; or Nginx error logs.&lt;/li&gt;
&lt;li&gt;To verify password reset or verification flows, you open another app just to copy a link out of Mailpit/Mailtrap.&lt;/li&gt;
&lt;li&gt;Meanwhile, Docker Desktop or Laravel Sail spins a Linux VM over VirtioFS and drains your MacBook battery.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is how to fix both the local runtime overhead and the AI editor context loop cleanly on macOS.&lt;/p&gt;




&lt;h2&gt;
  
  
  Step 1: Audit Your Local &lt;code&gt;.test&lt;/code&gt; Stack or Docker Overhead (Open-Source CLI Helpers)
&lt;/h2&gt;

&lt;p&gt;Before changing your workflow, I open-sourced three tiny, read-only shell scripts you can inspect line-by-line on GitHub:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Troubleshoot &lt;code&gt;.test&lt;/code&gt; DNS &amp;amp; Keychain SSL warnings (&lt;code&gt;macos-local-ssl-doctor&lt;/code&gt;)&lt;/strong&gt;:
Checks &lt;code&gt;/etc/resolver/&amp;lt;tld&amp;gt;&lt;/code&gt;, &lt;code&gt;dscacheutil&lt;/code&gt;, ports &lt;code&gt;80&lt;/code&gt;/&lt;code&gt;443&lt;/code&gt; via &lt;code&gt;lsof&lt;/code&gt;, and Keychain Root CA trust.
Repo: &lt;a href="https://github.com/khorshedobs/macos-local-ssl-doctor" rel="noopener noreferrer"&gt;https://github.com/khorshedobs/macos-local-ssl-doctor&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Benchmark native PHP/Nginx vs Docker Desktop on your own Mac (&lt;code&gt;macos-laravel-stack-benchmark&lt;/code&gt;)&lt;/strong&gt;:
Compares actual RSS memory (&lt;code&gt;ps -axo rss,comm&lt;/code&gt;) alongside 20-iteration cold PHP CLI and 10-iteration &lt;code&gt;php artisan --version&lt;/code&gt; timing on your own hardware.
Repo: &lt;a href="https://github.com/khorshedobs/macos-laravel-stack-benchmark" rel="noopener noreferrer"&gt;https://github.com/khorshedobs/macos-laravel-stack-benchmark&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prepare a non-destructive Sail-to-native transition (&lt;code&gt;laravel-docker-to-native-migrator&lt;/code&gt;)&lt;/strong&gt;:
Reads &lt;code&gt;docker-compose.yml&lt;/code&gt; and &lt;code&gt;.env&lt;/code&gt; to create &lt;code&gt;.env.native&lt;/code&gt; (&lt;code&gt;127.0.0.1&lt;/code&gt; + &lt;code&gt;MAIL_PORT=1025&lt;/code&gt;) without overwriting your Docker &lt;code&gt;.env&lt;/code&gt;.
Repo: &lt;a href="https://github.com/khorshedobs/laravel-docker-to-native-migrator" rel="noopener noreferrer"&gt;https://github.com/khorshedobs/laravel-docker-to-native-migrator&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Step 2: Connect Cursor or Claude Code via Loopback MCP (No Manual Wrappers)
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;Stratos v1.7.1&lt;/strong&gt; (native Swift &amp;amp; SwiftUI for macOS 13.0+), a local &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; server bridge lives at &lt;code&gt;http://127.0.0.1:9921/mcp&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;How it stays locked down:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Off by default&lt;/strong&gt; until you click &lt;strong&gt;Start bridge&lt;/strong&gt; inside &lt;strong&gt;Tools → Local AI &amp;amp; MCP&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Loopback Bearer token authentication&lt;/strong&gt;: rotated whenever you restart the bridge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1-click client setup&lt;/strong&gt;: writes or updates &lt;code&gt;.cursor/mcp.json&lt;/code&gt;, &lt;code&gt;.mcp.json&lt;/code&gt; (Claude Code), &lt;code&gt;claude_desktop_config.json&lt;/code&gt; (Claude Desktop), or &lt;code&gt;~/.codeium/windsurf/mcp_config.json&lt;/code&gt; (Windsurf) while backing up existing config.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Clear Free vs. Pro Capability Boundary
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Free Forever&lt;/strong&gt; (no account required):

&lt;ul&gt;
&lt;li&gt;1-click MCP client config writer&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;get_sites&lt;/code&gt; / &lt;code&gt;stratos://sites&lt;/code&gt;: domains, PHP versions (&lt;code&gt;8.1&lt;/code&gt;–&lt;code&gt;8.5&lt;/code&gt;), Nginx paths, and service status&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;get_schema&lt;/code&gt;: read-only SQLite, MySQL, and PostgreSQL column names, types, primary keys, nullability, and foreign keys (no table row dumps or secrets)&lt;/li&gt;
&lt;li&gt;Plus daily previews in the UI: 3 Visual Tinker queries/day, 1 ER Diagram/day, 15m/day Cloudflare Tunnel, and a 7-day in-app Pro trial&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pro (&lt;code&gt;$39/yr&lt;/code&gt;), Founder Lifetime (&lt;code&gt;$89&lt;/code&gt; once for 3 Macs), or Team (&lt;code&gt;$129/yr&lt;/code&gt;)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Live telemetry tools (Nginx/PHP logs, dump streams, request traces, and opt-in mail inspection)&lt;/li&gt;
&lt;li&gt;Human-approved &lt;strong&gt;PHP, SQL, and Laravel Artisan execution&lt;/strong&gt; directly from your AI editor—every state-changing call pauses for an explicit macOS confirmation dialog before running&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Step 3: Architecture Links &amp;amp; Full Docs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full MCP Guide for Cursor &amp;amp; Claude Code&lt;/strong&gt;: &lt;a href="https://stratosapp.dev/docs/laravel-mcp-server-cursor-claude-code/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/laravel-mcp-server-cursor-claude-code/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP Security &amp;amp; Tool Reference&lt;/strong&gt;: &lt;a href="https://stratosapp.dev/docs/local-ai-mcp/" rel="noopener noreferrer"&gt;https://stratosapp.dev/docs/local-ai-mcp/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apple Silicon VirtioFS vs. Native APFS Notes&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;li&gt;
&lt;strong&gt;Download Stratos Universal DMG (Free Core Edition)&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;/ul&gt;

&lt;p&gt;&lt;em&gt;P.S. Through &lt;strong&gt;November 30, 2026&lt;/strong&gt;, Stratos Black Friday / Cyber Monday pricing is active automatically at checkout (&lt;code&gt;$149 → $89&lt;/code&gt; for Founder Lifetime across 3 Macs, and &lt;code&gt;$59/yr → $39/yr&lt;/code&gt; for Pro Annual — see &lt;a href="https://stratosapp.dev/buy/" rel="noopener noreferrer"&gt;https://stratosapp.dev/buy/&lt;/a&gt;).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>php</category>
      <category>macos</category>
      <category>ai</category>
    </item>
    <item>
      <title>Fixing Docker Battery Drain on Apple Silicon: Measure, Tune, and Choose Your Stack</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Fri, 13 Nov 2026 04:45:55 +0000</pubDate>
      <link>https://dev.to/stratos_mac/fixing-docker-battery-drain-on-apple-silicon-measure-tune-and-choose-your-stack-1oog</link>
      <guid>https://dev.to/stratos_mac/fixing-docker-battery-drain-on-apple-silicon-measure-tune-and-choose-your-stack-1oog</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I build Stratos. This is an updated, AI-assisted adaptation of our &lt;a href="https://stratosapp.dev/docs/docker-battery-and-performance/" rel="noopener noreferrer"&gt;original Docker battery guide&lt;/a&gt;. It includes Docker's own resource-saving options and does not claim a guaranteed battery improvement from switching tools.&lt;/p&gt;

&lt;p&gt;If your MacBook becomes hot or loses charge quickly while developing a Laravel application, Docker may be part of the workload—but it is not enough to see Docker running and assume it is the only cause.&lt;/p&gt;

&lt;p&gt;An IDE indexing source files, a frontend watcher rebuilding repeatedly, a queue worker stuck in a retry loop, or a database doing background work can consume resources in either a container-based or a native setup.&lt;/p&gt;

&lt;p&gt;The useful sequence is: measure the work, remove what you do not need, then decide whether your project requires containers.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Establish a useful baseline
&lt;/h2&gt;

&lt;p&gt;Open Activity Monitor and inspect CPU and Energy while your stack is idle and while you perform representative development tasks. Look at the application and its associated processes, not just one menu-bar process.&lt;/p&gt;

&lt;p&gt;Record:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Mac model, chip, memory, macOS, and Docker Desktop version.&lt;/li&gt;
&lt;li&gt;The running containers and services.&lt;/li&gt;
&lt;li&gt;Whether the laptop is charging, screen brightness, and power settings.&lt;/li&gt;
&lt;li&gt;Frontend watchers, queue workers, schedulers, database activity, and IDE indexing.&lt;/li&gt;
&lt;li&gt;What you did during the sample and how long you observed it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use repeated observations under similar conditions. An Activity Monitor Energy Impact value is a diagnostic signal, not a direct battery-runtime guarantee. A single “0% CPU” sample does not prove a tool never uses CPU.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Identify running containers and their work
&lt;/h2&gt;

&lt;p&gt;These commands inspect your setup; they do not delete data:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker ps
docker stats --no-stream
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check for services you left running from other projects. Inspect repeated application errors, queue retries, and rebuild loops. A quiet web application may still have busy background services.&lt;/p&gt;

&lt;p&gt;Stop only containers you recognize and do not currently need. Check running jobs before stopping a worker or database. Do not use volume deletion or aggressive cleanup as a battery troubleshooting step: that can remove development data without explaining the resource use.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check Resource Saver
&lt;/h2&gt;

&lt;p&gt;Docker's &lt;a href="https://docs.docker.com/desktop/use-desktop/resource-saver/" rel="noopener noreferrer"&gt;Resource Saver documentation&lt;/a&gt; describes how it stops the Linux VM after a configurable interval with no containers running. The documented default interval is five minutes, and the feature is enabled by default.&lt;/p&gt;

&lt;p&gt;Check &lt;strong&gt;Docker Desktop → Settings → Resources&lt;/strong&gt; for the relevant controls in your installed version. If your database, queue, or other container remains running, the “no running containers” condition has not been met. Resource Saver is not the same as making active container workloads free of resource costs.&lt;/p&gt;

&lt;p&gt;If you are done with container work for the day, stopping the unneeded services and letting Resource Saver activate—or quitting Docker Desktop—may be sufficient. You may not need to migrate your project at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Review filesystem sharing and file watchers
&lt;/h2&gt;

&lt;p&gt;Linux containers on a Mac access host-mounted source through a sharing boundary. The impact depends on Docker's current backend, sharing configuration, and the project's access pattern.&lt;/p&gt;

&lt;p&gt;For a PHP project, investigate frequent source scans, dependency access, generated caches, and frontend rebuild activity. Keep watcher scope focused on files that actually need rebuilding. Compare changes one at a time and measure the same request or development task again.&lt;/p&gt;

&lt;p&gt;Avoid copying a tuning recipe blindly. Moving files or dependencies into a volume can change how editors, tests, and package managers see them; evaluate that against your team's setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Decide whether Linux containers are a requirement
&lt;/h2&gt;

&lt;p&gt;Containers remain useful when your application depends on Linux-specific behavior, image-based team environments, or a collection of services defined in Compose. Running PHP directly on macOS does not provide identical Linux behavior or container isolation.&lt;/p&gt;

&lt;p&gt;For projects that need local PHP, a database, HTTPS, and development tools without container-specific requirements, a native environment is another option. Removing the Linux VM changes the architecture, but it does not guarantee a particular CPU percentage or battery duration. Native databases, queue workers, and build tools still do real work.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Evaluate Stratos with one project
&lt;/h2&gt;

&lt;p&gt;If a native stack fits your requirements:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Keep the project source and development database backed up. Preserve your existing container configuration so you can return to it.&lt;/li&gt;
&lt;li&gt;Install Stratos and link the project under Sites. Select the installed PHP version and required extensions.&lt;/li&gt;
&lt;li&gt;Start the local services the project actually needs. Configure database host, port, credentials, cache, queue, and mail settings for those services. A Compose service hostname usually will not resolve as a local macOS database address.&lt;/li&gt;
&lt;li&gt;Review the site's &lt;code&gt;.test&lt;/code&gt; domain and HTTPS configuration. Check Laravel's application URL and any callback URLs.&lt;/li&gt;
&lt;li&gt;Run your application's checks: database access, authentication, assets, jobs, scheduled tasks, and tests. Migrate development data deliberately rather than assuming container volumes are automatically imported.&lt;/li&gt;
&lt;li&gt;Compare the same workload again. If Linux behavior is required or compatibility differs, retain the container setup for that project.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Stratos's Free edition includes core hosting and selected development tools. Advanced service management and integrated workflows have plan-specific limits; review &lt;a href="https://stratosapp.dev/buy/" rel="noopener noreferrer"&gt;current pricing&lt;/a&gt; before relying on a paid feature.&lt;/p&gt;

&lt;p&gt;Stratos 1.7.1 also includes a Free MCP schema bridge for coding agents. It can help an agent inspect permitted table metadata; it does not diagnose battery use automatically. See &lt;a href="https://stratosapp.dev/docs/local-ai-mcp/" rel="noopener noreferrer"&gt;Local AI &amp;amp; MCP setup&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a credible battery comparison should publish
&lt;/h2&gt;

&lt;p&gt;If you share before/after results, include hardware, OS/tool versions, the exact application and services, workload, duration, power settings, and repeated measurements. Disclose whether Docker Resource Saver was active and whether containers were still running.&lt;/p&gt;

&lt;p&gt;Without those details, fixed claims such as “Docker always uses 15–40% idle CPU,” “native means 0% CPU,” or “switching guarantees all-day battery” are too broad. The practical goal is to reduce unnecessary work while preserving the environment your application needs.&lt;/p&gt;

&lt;p&gt;References: &lt;a href="https://docs.docker.com/desktop/use-desktop/resource-saver/" rel="noopener noreferrer"&gt;Docker Resource Saver&lt;/a&gt;, &lt;a href="https://docs.docker.com/desktop/settings-and-maintenance/settings/" rel="noopener noreferrer"&gt;Docker Desktop settings&lt;/a&gt;, &lt;a href="https://stratosapp.dev/docs/installation/" rel="noopener noreferrer"&gt;Stratos installation&lt;/a&gt;, and &lt;a href="https://stratosapp.dev/docs/docker-battery-and-performance/" rel="noopener noreferrer"&gt;the original guide&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>docker</category>
      <category>webdev</category>
      <category>php</category>
      <category>laravel</category>
    </item>
    <item>
      <title>Stratos vs Laravel Herd Pro vs MAMP Pro vs Docker Desktop</title>
      <dc:creator>Stratos</dc:creator>
      <pubDate>Thu, 12 Nov 2026 19:43:47 +0000</pubDate>
      <link>https://dev.to/stratos_mac/stratos-vs-laravel-herd-pro-vs-mamp-pro-vs-docker-desktop-517i</link>
      <guid>https://dev.to/stratos_mac/stratos-vs-laravel-herd-pro-vs-mamp-pro-vs-docker-desktop-517i</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; I build Stratos. This is an updated, AI-assisted adaptation of our &lt;a href="https://stratosapp.dev/docs/stratos-vs-herd-vs-mamp/" rel="noopener noreferrer"&gt;original comparison&lt;/a&gt;, with links to the other vendors' documentation. It compares workflows rather than claiming that one tool wins every benchmark.&lt;/p&gt;

&lt;p&gt;Choosing a local PHP environment starts with your project's requirements. Do you need Linux containers? A Laravel-focused application? A graphical server manager? Or a native Mac stack with debugging tools and a schema bridge for coding agents?&lt;/p&gt;

&lt;p&gt;Stratos, Laravel Herd, MAMP Pro, and Docker Desktop overlap, but they solve different parts of that problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compare the workflow first
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;Stratos&lt;/th&gt;
&lt;th&gt;Laravel Herd / Pro&lt;/th&gt;
&lt;th&gt;MAMP / MAMP Pro&lt;/th&gt;
&lt;th&gt;Docker Desktop&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Main approach&lt;/td&gt;
&lt;td&gt;Native Swift Mac application managing local PHP and services&lt;/td&gt;
&lt;td&gt;Native PHP/Laravel development environment with Free and Pro capabilities&lt;/td&gt;
&lt;td&gt;Graphical local web environment; Pro adds site and server configuration workflows&lt;/td&gt;
&lt;td&gt;Container development platform; Linux workloads run through a Linux VM on macOS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PHP versions&lt;/td&gt;
&lt;td&gt;PHP 8.1–8.5, with per-site selection and simultaneous FPM pools&lt;/td&gt;
&lt;td&gt;Version management within its PHP/Laravel workflow; check the current plan comparison&lt;/td&gt;
&lt;td&gt;Pro supports individual site/server PHP configurations&lt;/td&gt;
&lt;td&gt;Configure PHP images and versions in your container definitions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Local domains and HTTPS&lt;/td&gt;
&lt;td&gt;Linked &lt;code&gt;.test&lt;/code&gt; sites and trusted local HTTPS&lt;/td&gt;
&lt;td&gt;Integrated local site workflow&lt;/td&gt;
&lt;td&gt;Site configuration through MAMP Pro&lt;/td&gt;
&lt;td&gt;Configure your application, ports, certificates, and any reverse proxy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database workflow&lt;/td&gt;
&lt;td&gt;SQLite browser and MySQL basics on Free; broader integrated management and advanced tools depend on the plan&lt;/td&gt;
&lt;td&gt;Check current database/service features and plan entitlements&lt;/td&gt;
&lt;td&gt;Local database and website management tools&lt;/td&gt;
&lt;td&gt;Run databases as services; select a separate client or administration interface as needed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coding-agent context&lt;/td&gt;
&lt;td&gt;Free MCP site/schema context; Pro runtime tools and execution with confirmation&lt;/td&gt;
&lt;td&gt;Herd 2.0 advertises agent/runtime context; check current Pro entitlements&lt;/td&gt;
&lt;td&gt;Check current vendor integrations for your workflow&lt;/td&gt;
&lt;td&gt;Add an appropriate MCP server or integration for the containers/services you use&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Debugging and sharing&lt;/td&gt;
&lt;td&gt;Integrated mail, dumps, requests, Tinker, profiling, snapshots, and tunnels, with plan-specific limits&lt;/td&gt;
&lt;td&gt;Integrated Laravel-oriented tools and services vary by plan&lt;/td&gt;
&lt;td&gt;Tools for local website development and testing&lt;/td&gt;
&lt;td&gt;Assemble the debugging, mail, profiling, and sharing services your project requires&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Container and Linux-image parity&lt;/td&gt;
&lt;td&gt;Local macOS services, not Linux container isolation&lt;/td&gt;
&lt;td&gt;Local development stack, not a replacement for Linux container isolation&lt;/td&gt;
&lt;td&gt;Local web environment, not a container runtime&lt;/td&gt;
&lt;td&gt;Suitable when the workflow depends on container images and Linux services&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The table describes approaches, not universal feature parity. Vendor releases, operating-system support, and paid entitlements change; check the official pages before choosing a subscription.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Stratos fits
&lt;/h2&gt;

&lt;p&gt;Stratos is intended for PHP and Laravel developers who want local macOS services and a single application for common development tasks. You can link a project, choose its installed PHP version, use local HTTPS, and access integrated development tools.&lt;/p&gt;

&lt;p&gt;In Stratos 1.7.1, &lt;strong&gt;Tools → Local AI &amp;amp; MCP&lt;/strong&gt; adds a local bridge for Cursor, Claude Code, Claude Desktop, and Windsurf. The Free tools can inspect permitted linked-site metadata and database schema, including columns and foreign keys. They do not return database rows or passwords through the schema API.&lt;/p&gt;

&lt;p&gt;Pro adds permitted dumps, request metadata, logs, and performance context. PHP, SQL, and Artisan execution requires confirmation in Stratos, including SQL reads. Approved actions use normal user/project permissions: this is not an operating-system sandbox. Mail and webhook context require separate app-wide permissions.&lt;/p&gt;

&lt;p&gt;That distinction matters when choosing an agent workflow. Sharing a schema is a different decision from sharing runtime payloads or allowing execution.&lt;/p&gt;

&lt;p&gt;See the &lt;a href="https://stratosapp.dev/docs/local-ai-mcp/" rel="noopener noreferrer"&gt;MCP setup guide&lt;/a&gt; and &lt;a href="https://github.com/khorshedobs/stratos-mcp-guide" rel="noopener noreferrer"&gt;public example configurations&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the alternatives fit
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Choose Herd when&lt;/strong&gt; you want its Laravel-focused workflow and its current integrations suit your projects. Its official site describes a native PHP/Laravel stack. A comparison should evaluate its actual capabilities rather than assume it is an Electron wrapper or that every PHP-version feature requires Pro.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose MAMP Pro when&lt;/strong&gt; its graphical website and server configuration workflow fits your work. MAMP's current product page describes individual server and PHP configurations; describing it as limited to one global PHP version would be misleading.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose Docker Desktop when&lt;/strong&gt; your project or team depends on container definitions, Linux-specific services, or matching image-based environments. A native Mac stack does not reproduce those properties simply by running the same language version.&lt;/p&gt;

&lt;p&gt;You can also combine approaches across projects. A container-dependent application and a small native PHP project need not use the same local environment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Compare resource use on your own workload
&lt;/h2&gt;

&lt;p&gt;Avoid choosing on an unexplained idle CPU screenshot. Compare the same application, service set, request workload, background workers, and filesystem layout. Record hardware, macOS, tool versions, power settings, and test duration.&lt;/p&gt;

&lt;p&gt;Docker Desktop also has &lt;a href="https://docs.docker.com/desktop/use-desktop/resource-saver/" rel="noopener noreferrer"&gt;Resource Saver&lt;/a&gt;, which can stop the Linux VM after a period with no running containers. An idle setup with Resource Saver active is different from one with database and worker containers continuously running.&lt;/p&gt;

&lt;p&gt;I am not presenting fixed CPU percentages or battery-drain figures here: results depend on workload and configuration, and this article does not include a reproducible benchmark dataset.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing and next steps
&lt;/h2&gt;

&lt;p&gt;Stratos offers a Free edition, Pro at $39/year, Founder Lifetime at $89, and a Team plan. Check &lt;a href="https://stratosapp.dev/buy/" rel="noopener noreferrer"&gt;current pricing and limits&lt;/a&gt; for purchase terms and device allowances. For the other tools, consult their current official pricing rather than treating an old comparison's figures as permanent.&lt;/p&gt;

&lt;p&gt;Useful references:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://herd.laravel.com/" rel="noopener noreferrer"&gt;Laravel Herd&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.mamp.info/en/mac/" rel="noopener noreferrer"&gt;MAMP and MAMP Pro&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.docker.com/desktop/" rel="noopener noreferrer"&gt;Docker Desktop documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://stratosapp.dev/download/" rel="noopener noreferrer"&gt;Stratos download and requirements&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Start with one representative project. Verify PHP extensions, database connectivity, queues, HTTPS, and your team's expected environment before migrating the rest.&lt;/p&gt;

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