Tutorial | Blog | Mozex                        [ Skip to content ](#main-content)   [                  ozex Labs ](https://mozex.dev) [About](https://mozex.dev#about) [Projects](https://mozex.dev#projects) [Open Source](https://mozex.dev#open-source) [Services](https://mozex.dev#services) [Docs](https://mozex.dev/docs) [Blog](https://mozex.dev/blog) [ Get in Touch ](https://mozex.dev#contact) 

        [About](https://mozex.dev#about) [Projects](https://mozex.dev#projects) [Open Source](https://mozex.dev#open-source) [Services](https://mozex.dev#services) [Docs](https://mozex.dev/docs) [Blog](https://mozex.dev/blog) [ Get in Touch ](https://mozex.dev#contact) 

     [   Back to Blog ](https://mozex.dev/blog) Tagged: Tutorial 
==================

     [ Anthropic Prompt Caching in Laravel: A Practical Guide 
--------------------------------------------------------

 ](https://mozex.dev/blog/18-anthropic-prompt-caching-in-laravel-a-practical-guide) Running Sevantia, our AI chat product, I watched the same 2,800-token system prompt get re-billed on every single user message. Multiply that by thousands of conversations a day and you're paying Anthropic to re-read the same instructions into Claude's context over and over. Prompt caching fixes this. It took me longer than it should have to get the mental model right, and the docs skip over the parts that trip up most people. This is the guide I wish I'd had when I first enabled it.

   Apr 20, 2026   ·  9 min read   ·  [ Laravel ](https://mozex.dev/blog/tags/laravel) [ PHP ](https://mozex.dev/blog/tags/php) [ AI ](https://mozex.dev/blog/tags/ai) [ Tutorial ](https://mozex.dev/blog/tags/tutorial) [ Anthropic ](https://mozex.dev/blog/tags/anthropic)  

  [ A Practical Guide to Database Indexing in Laravel 
---------------------------------------------------

 ](https://mozex.dev/blog/14-a-practical-guide-to-database-indexing-in-laravel) Your queries work fine in development. Fifty rows, instant responses, no complaints. Then you deploy to production, real data piles up, and a page that loaded in 200ms takes four seconds. The problem usually isn't your Eloquent code. It's the indexes you forgot to add.

   Apr 9, 2026   ·  11 min read   ·  [ Laravel ](https://mozex.dev/blog/tags/laravel) [ PHP ](https://mozex.dev/blog/tags/php) [ Tutorial ](https://mozex.dev/blog/tags/tutorial) [ Performance ](https://mozex.dev/blog/tags/performance) [ Database ](https://mozex.dev/blog/tags/database)  

  [ My Zero-Downtime Deployment Setup for Laravel 
-----------------------------------------------

 ](https://mozex.dev/blog/8-my-zero-downtime-deployment-setup-for-laravel) I've been deploying Laravel applications for over a decade. Started with custom bash scripts. Moved to Laravel Envoy. Then Laravel Envoyer, which worked great for a long time. Eventually moved away from it to Ploi.io so I could manage deployments and servers in one place. Each tool taught me something the previous one didn't. And the biggest lesson wasn't about tools at all. It was about the small practices around deployment that separate "mostly works" from "actually works every time." Zero-downtime deployment is widely available now. Most hosting panels and deployment services support it out of the box. But to get the most out of it, there are practices you need to get right. That's what this post covers.

   Apr 1, 2026   ·  14 min read   ·  [ Laravel ](https://mozex.dev/blog/tags/laravel) [ PHP ](https://mozex.dev/blog/tags/php) [ Tutorial ](https://mozex.dev/blog/tags/tutorial) [ DevOps ](https://mozex.dev/blog/tags/devops)  

###  Stay in the Loop 

 Get the latest posts delivered to your inbox - on your schedule.

   Every New Post Weekly Digest Monthly Digest  

  Subscribe   Subscribing...     No spam. Unsubscribe anytime.

   ![Mozex](https://mozex.dev/images/mozex/profile-256.webp)###  Mozex 

 Laravel Specialist

 Senior Laravel Specialist &amp; Consultant. Building developer tools and open-source packages.

 [   ](https://github.com/mozex) [   ](https://www.linkedin.com/in/mozex) [   ](https://x.com/mozexdev) [   ](https://mozex.dev/blog/feed) 

###  Browse by Topic 

  [ Laravel  15  ](https://mozex.dev/blog/tags/laravel) [ PHP  15  ](https://mozex.dev/blog/tags/php) [ Open Source  5  ](https://mozex.dev/blog/tags/open-source) [ AI  4  ](https://mozex.dev/blog/tags/ai) [ Architecture  3  ](https://mozex.dev/blog/tags/architecture) [ Tutorial  3  ](https://mozex.dev/blog/tags/tutorial) [ DevOps  3  ](https://mozex.dev/blog/tags/devops) [ Developer Tools  2  ](https://mozex.dev/blog/tags/developer-tools) [ Testing  2  ](https://mozex.dev/blog/tags/testing) [ Database  2  ](https://mozex.dev/blog/tags/database) [ Anthropic  2  ](https://mozex.dev/blog/tags/anthropic) [ Code Review  1  ](https://mozex.dev/blog/tags/code-review) [ Claude Code  1  ](https://mozex.dev/blog/tags/claude-code) [ Performance  1  ](https://mozex.dev/blog/tags/performance) [ MCP  1  ](https://mozex.dev/blog/tags/mcp) [ Markdown  1  ](https://mozex.dev/blog/tags/markdown) [ WooCommerce  1  ](https://mozex.dev/blog/tags/woocommerce) [ Productivity  1  ](https://mozex.dev/blog/tags/productivity) [ GitHub Actions  1  ](https://mozex.dev/blog/tags/github-actions) [ Pest  1  ](https://mozex.dev/blog/tags/pest) [ Bash  1  ](https://mozex.dev/blog/tags/bash)  

###  Need expert Laravel help? 

 I offer consulting, code reviews, and custom development for Laravel applications.

 [ View Services   ](https://mozex.dev#services) 

   Live across open source

  798,769+  

 package downloads and counting

  Mozex Labs  [   ](https://github.com/mozex) [   ](https://www.linkedin.com/in/mozex) [   ](https://x.com/mozexdev) [   ](mailto:hello@mozex.dev) [   ](https://mozex.dev/blog/feed) 

  © 2026 Mozex Labs
