Skip to main content

🌟 Introduction

Start with LaraKube Desktop

Most people should use LaraKube Desktop. It installs and runs the CLI for you, and it is the recommended way to use LaraKube. The CLI pages are for advanced use, scripting and CI.

LaraKube CLI is a high-performance Kubernetes Control Plane for Laravel. It bridges the gap between local development and cloud-scale infrastructure, treating architecture as a first-class citizen.

🚀 The Standalone Engine​

LaraKube CLI is distributed as a self-contained binary for Linux and macOS, featuring its own embedded PHP runtime. You no longer need to install PHP, Composer, or Node.js on your machine. As long as you have Docker and kubectl, you are ready to orchestrate masterpieces.

💾 Shared Storage (Workload Parity)​

LaraKube CLI implements a sophisticated Shared Storage Architecture. By using a synchronized volume across your Web, Worker, and Scheduler pods, we achieve true Workload Parity.

  • Atomic Updates: File changes (like storage/ or bootstrap/cache) are instantly visible across all pods.
  • Sidecar Optimizations: Support services run with minimal overhead, sharing the same application state as your main web process.

🔌 Proxy-First Workflow​

Stop jumping in and out of containers. LaraKube CLI provides transparent proxy commands that execute directly inside your Kubernetes pods:

  • larakube art migrate
  • larakube composer require
  • larakube npm run dev

🖥️ LaraKube Desktop (The Cockpit)​

LaraKube Desktop is the visual companion to the CLI — a native app for fleet visibility, project management, and server provisioning without leaving a GUI. It drives the same CLI underneath, so anything you can see in Desktop you can also script from the terminal.

🤖 AI-Native by Design (MCP)​

LaraKube CLI is built for the age of AI agents. The Local Mechanic (larakube-cli) is a project-scoped MCP server with expert tools for modifying local code, patching blueprints, and running orchestration "verbs" (up, down, add) — giving AI agents professional-grade orchestration capabilities directly in your project.

🚀 The Vision: Container-First Laravel​

By bringing Kubernetes to the local development environment, we ensure that your code is "Production-Ready" from the very first line you write.

LaraKube CLI stands on the shoulders of giants. We would like to express our deepest gratitude to Server Side Up. Their world-class PHP Docker Images are the bedrock of this project, providing the stability and performance that make professional Laravel-on-Kubernetes possible.

LaraKube CLI empowers you to create as many masterpieces as your imagination allows. But at the end of the day, the real magic happens when you share your work with the world.

Whether you are deploying to a small cluster for friends or a global scale-out infrastructure for millions, LaraKube CLI provides the Production-Grade Blueprints and CI/CD Pipelines to make that transition seamless.


⭐ Star the Project​

LaraKube CLI is a labor of love for the Laravel community. If this tool has helped you launch a masterpiece, please consider giving us a star on GitHub!


🎨 Craft the Future​

With LaraKube CLI and the Laravel AI SDK, the only limit is your imagination. Scaffold your next architectural masterpiece today.

larakube new my-masterpiece --fast