<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="atom.xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://larakube.luchtech.dev/blog</id>
    <title>LaraKube CLI Blog</title>
    <updated>2026-04-22T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://larakube.luchtech.dev/blog"/>
    <subtitle>LaraKube CLI Blog</subtitle>
    <icon>https://larakube.luchtech.dev/img/larakube-logo.svg</icon>
    <entry>
        <title type="html"><![CDATA[From Artisan to Architect: Building Your First Cluster Masterpiece]]></title>
        <id>https://larakube.luchtech.dev/blog/artisan-to-architect</id>
        <link href="https://larakube.luchtech.dev/blog/artisan-to-architect"/>
        <updated>2026-04-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Laravel has always been about "Developer Happiness." But for many of us, the happiness ends when it's time to talk about Kubernetes, Ingress controllers, and Persistent Volume Claims.]]></summary>
        <content type="html"><![CDATA[<p>Laravel has always been about "Developer Happiness." But for many of us, the happiness ends when it's time to talk about Kubernetes, Ingress controllers, and Persistent Volume Claims.</p>
<p>LaraKube CLI was built to bridge that gap. It allows you to stop being "just a coder" and start being an <strong>Infrastructure Architect</strong>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-power-of-architecture-by-flag">The Power of "Architecture-by-Flag"<a href="https://larakube.luchtech.dev/blog/artisan-to-architect#the-power-of-architecture-by-flag" class="hash-link" aria-label="Direct link to The Power of &quot;Architecture-by-Flag&quot;" title="Direct link to The Power of &quot;Architecture-by-Flag&quot;" translate="no">​</a></h3>
<p>In a traditional setup, adding something like <strong>Redis</strong> or <strong>Meilisearch</strong> involves hunting down Docker Compose snippets and manually mapping ports. In LaraKube, it’s a single flag.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token plain">larakube new my-app </span><span class="token parameter variable" style="color:#36acaa">--frankenphp</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">--mysql</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">--redis</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">--meilisearch</span><br></div></code></pre></div></div>
<p>With one command, you aren't just creating a Laravel folder; you are scaffolding an industrial-strength infrastructure stack.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="professional-defaults-no-magic">Professional Defaults, No Magic<a href="https://larakube.luchtech.dev/blog/artisan-to-architect#professional-defaults-no-magic" class="hash-link" aria-label="Direct link to Professional Defaults, No Magic" title="Direct link to Professional Defaults, No Magic" translate="no">​</a></h3>
<p>We don't use "black box" magic. LaraKube generates standard, pure <strong>Kustomize YAML</strong> manifests. This means that as you grow, you can look inside the <code>.infrastructure</code> folder and learn how professional Kubernetes manifests are structured.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="why-it-matters">Why It Matters<a href="https://larakube.luchtech.dev/blog/artisan-to-architect#why-it-matters" class="hash-link" aria-label="Direct link to Why It Matters" title="Direct link to Why It Matters" translate="no">​</a></h3>
<p>When you build with LaraKube, you are building for scale from Day One. You get:</p>
<ul>
<li class=""><strong>Automated SSL</strong>: Real wildcard certificates for your local <code>.dev.test</code> domains.</li>
<li class=""><strong>Dedicated Workers</strong>: Isolated pods for Horizon and Scheduled tasks.</li>
<li class=""><strong>Service Isolation</strong>: Your database isn't just a process; it's a secured service in your namespace.</li>
</ul>
<p>Stop managing servers. Start orchestrating masterpieces. 🏛️🏗️</p>]]></content>
        <author>
            <name>James Carlo Luchavez</name>
            <uri>https://www.linkedin.com/in/luchaveztech/</uri>
        </author>
        <category label="Laravel" term="Laravel"/>
        <category label="Kubernetes" term="Kubernetes"/>
        <category label="Scaling" term="Scaling"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[The FrankenPHP Revolution: Why Your PHP App Should Stay in Memory]]></title>
        <id>https://larakube.luchtech.dev/blog/frankenphp-revolution</id>
        <link href="https://larakube.luchtech.dev/blog/frankenphp-revolution"/>
        <updated>2026-04-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[For decades, the standard way to run PHP was through a "Request-Response" cycle where the entire framework booted up, handled a request, and then died. It worked, but it was far from efficient.]]></summary>
        <content type="html"><![CDATA[<p>For decades, the standard way to run PHP was through a "Request-Response" cycle where the entire framework booted up, handled a request, and then died. It worked, but it was far from efficient.</p>
<p>Enter the <strong>FrankenPHP Revolution</strong>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-is-frankenphp">What is FrankenPHP?<a href="https://larakube.luchtech.dev/blog/frankenphp-revolution#what-is-frankenphp" class="hash-link" aria-label="Direct link to What is FrankenPHP?" title="Direct link to What is FrankenPHP?" translate="no">​</a></h3>
<p><a href="https://frankenphp.dev/" target="_blank" rel="noopener noreferrer" class="">FrankenPHP</a> is a modern PHP app server that brings the power of <strong>Laravel Octane</strong> to the masses. Instead of booting your framework 1,000 times for 1,000 requests, Octane boots it <em>once</em> and keeps it in memory.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="why-its-a-game-changer-in-larakube">Why It’s a Game Changer in LaraKube<a href="https://larakube.luchtech.dev/blog/frankenphp-revolution#why-its-a-game-changer-in-larakube" class="hash-link" aria-label="Direct link to Why It’s a Game Changer in LaraKube" title="Direct link to Why It’s a Game Changer in LaraKube" translate="no">​</a></h3>
<p>When you use LaraKube CLI with the <code>--frankenphp</code> flag, you aren't just getting a faster web server. You are getting:</p>
<ol>
<li class=""><strong>Persistent Connections</strong>: Your database and Redis connections stay open, eliminating the "handshake" overhead on every request.</li>
<li class=""><strong>Native Worker Mode</strong>: Your app is served by a high-performance C-based Go server that manages PHP workers with incredible efficiency.</li>
<li class=""><strong>Automated Live-Watching</strong>: In LaraKube, we've integrated <code>chokidar</code> so that when you save a file, the Octane workers restart instantly inside your cluster.</li>
</ol>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="production-ready-performance-locally">Production-Ready Performance, Locally<a href="https://larakube.luchtech.dev/blog/frankenphp-revolution#production-ready-performance-locally" class="hash-link" aria-label="Direct link to Production-Ready Performance, Locally" title="Direct link to Production-Ready Performance, Locally" translate="no">​</a></h3>
<p>The best part? Because LaraKube uses the same <strong>Server Side Up</strong> images in your local cluster that you use in production, your performance benchmarks are actually meaningful. You aren't testing on a "fake" local setup; you are testing on your actual infrastructure.</p>
<p>If you haven't tried running your Laravel app in memory yet, now is the time. 🚀🐘⚡️</p>]]></content>
        <author>
            <name>James Carlo Luchavez</name>
            <uri>https://www.linkedin.com/in/luchaveztech/</uri>
        </author>
        <category label="Laravel" term="Laravel"/>
        <category label="Octane" term="Octane"/>
        <category label="Performance" term="Performance"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[Project Resilience: The Healing Power of Infrastructure-as-Code]]></title>
        <id>https://larakube.luchtech.dev/blog/infrastructure-as-code-healing</id>
        <link href="https://larakube.luchtech.dev/blog/infrastructure-as-code-healing"/>
        <updated>2026-04-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[What happens if you accidentally delete your Kubernetes manifests? Or worse, what if your .larakube.json configuration file gets corrupted?]]></summary>
        <content type="html"><![CDATA[<p>What happens if you accidentally delete your Kubernetes manifests? Or worse, what if your <code>.larakube.json</code> configuration file gets corrupted?</p>
<p>In a traditional setup, this would be a nightmare. In LaraKube, it’s a non-event. This is the power of <strong>Architectural Resilience</strong>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="blueprint-resilience">Blueprint Resilience<a href="https://larakube.luchtech.dev/blog/infrastructure-as-code-healing#blueprint-resilience" class="hash-link" aria-label="Direct link to Blueprint Resilience" title="Direct link to Blueprint Resilience" translate="no">​</a></h3>
<p>LaraKube CLI introduces a unique strategy called <strong>Blueprint Resilience</strong>. Every time you run a command, your project's architectural DNA is automatically backed up to a secure <strong>Kubernetes Secret</strong> inside your cluster.</p>
<p>If your local configuration is ever lost, you can simply run:</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token plain">larakube heal</span><br></div></code></pre></div></div>
<p>The CLI will detect the missing local blueprint and offer to restore it directly from the cluster. Your infrastructure is effectively indestructible.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="self-healing-manifests">Self-Healing Manifests<a href="https://larakube.luchtech.dev/blog/infrastructure-as-code-healing#self-healing-manifests" class="hash-link" aria-label="Direct link to Self-Healing Manifests" title="Direct link to Self-Healing Manifests" translate="no">​</a></h3>
<p>We’ve all had those moments where we manually "tweaked" a YAML file and broke everything. The <code>heal</code> command acts as your personal infrastructure consultant. It surgically regenerates your manifests and patches, ensuring they always follow the latest LaraKube stability standards.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-peace-of-mind">The Peace of Mind<a href="https://larakube.luchtech.dev/blog/infrastructure-as-code-healing#the-peace-of-mind" class="hash-link" aria-label="Direct link to The Peace of Mind" title="Direct link to The Peace of Mind" translate="no">​</a></h3>
<p>By treating your infrastructure as a living, self-healing entity, you can:</p>
<ul>
<li class=""><strong>Upgrade with Confidence</strong>: Apply new LaraKube features to old projects safely.</li>
<li class=""><strong>Collaborate Without Fear</strong>: Ensure every developer on your team is using the exact same, valid manifest structure.</li>
<li class=""><strong>Sleep Better</strong>: Knowing that your cluster has its own "immune system."</li>
</ul>
<p>Infrastructure doesn't have to be fragile. With LaraKube, it's resilient by design. 🛡️✨</p>]]></content>
        <author>
            <name>James Carlo Luchavez</name>
            <uri>https://www.linkedin.com/in/luchaveztech/</uri>
        </author>
        <category label="DevOps" term="DevOps"/>
        <category label="Self-Healing" term="Self-Healing"/>
        <category label="Stability" term="Stability"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[The Zero-Host Philosophy: Why Your Machine Deserves Better]]></title>
        <id>https://larakube.luchtech.dev/blog/zero-host-philosophy</id>
        <link href="https://larakube.luchtech.dev/blog/zero-host-philosophy"/>
        <updated>2026-04-22T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[As Laravel developers, we’ve all been there: brew upgrade accidentally breaks your local PHP version, or a Node.js update causes your Vite build to explode. You spend three hours fixing your environment instead of building your masterpiece.]]></summary>
        <content type="html"><![CDATA[<p>As Laravel developers, we’ve all been there: <code>brew upgrade</code> accidentally breaks your local PHP version, or a Node.js update causes your Vite build to explode. You spend three hours fixing your environment instead of building your masterpiece.</p>
<p>At LaraKube CLI, we believe your host machine should be kept as "factory-original" as possible. This is the <strong>Zero-Host Philosophy</strong>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-problem-with-native-runtimes">The Problem with Native Runtimes<a href="https://larakube.luchtech.dev/blog/zero-host-philosophy#the-problem-with-native-runtimes" class="hash-link" aria-label="Direct link to The Problem with Native Runtimes" title="Direct link to The Problem with Native Runtimes" translate="no">​</a></h3>
<p>When you install PHP, Nginx, and Node directly on your macOS or Windows machine, you are building on a foundation of "it works on my machine." But the moment you deploy to a server, everything changes. The paths are different, the permissions are different, and the performance characteristics are different.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-larakube-solution">The LaraKube Solution<a href="https://larakube.luchtech.dev/blog/zero-host-philosophy#the-larakube-solution" class="hash-link" aria-label="Direct link to The LaraKube Solution" title="Direct link to The LaraKube Solution" translate="no">​</a></h3>
<p>LaraKube CLI is now distributed as a <strong>standalone binary</strong>. It doesn't need PHP or Node on your machine to work. Instead, it orchestrates everything inside <strong>Kubernetes containers</strong>.</p>
<p>By moving your entire development stack into a local k3s cluster, you get:</p>
<ol>
<li class=""><strong>Absolute Portability</strong>: Your app doesn't care if it's on a Mac, Windows (WSL2), or Linux.</li>
<li class=""><strong>Production Parity</strong>: You are running the exact same Docker images in development that you will use in production.</li>
<li class=""><strong>A Clean Machine</strong>: No more messy PATH variables or conflicting global npm packages.</li>
</ol>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="getting-started">Getting Started<a href="https://larakube.luchtech.dev/blog/zero-host-philosophy#getting-started" class="hash-link" aria-label="Direct link to Getting Started" title="Direct link to Getting Started" translate="no">​</a></h3>
<p>The shift is simple. Instead of running <code>php artisan</code>, you use LaraKube to launch your cluster:</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token plain">larakube up</span><br></div></code></pre></div></div>
<p>Your machine stays clean, your cluster stays stable, and your focus stays on the code. Welcome to the future of Laravel development. 🚀</p>]]></content>
        <author>
            <name>James Carlo Luchavez</name>
            <uri>https://www.linkedin.com/in/luchaveztech/</uri>
        </author>
        <category label="Architecture" term="Architecture"/>
        <category label="Kubernetes" term="Kubernetes"/>
        <category label="Workflow" term="Workflow"/>
    </entry>
</feed>