Anthropic | 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: Anthropic 
===================

     [ 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)  

  [ Why I Built a PHP Client for Anthropic's Claude API 
-----------------------------------------------------

 ](https://mozex.dev/blog/9-why-i-built-a-php-client-for-anthropics-claude-api) In May 2024, I published the first version of anthropic-php, a PHP client for Anthropic's Claude API. Nearly two years and 370,000+ downloads later, it's the most installed dedicated Anthropic SDK in the PHP ecosystem. This is the story of why I built it, what it can do, and why I think packages born from real necessity tend to be the good ones.

   Apr 2, 2026   ·  8 min read   ·  [ Laravel ](https://mozex.dev/blog/tags/laravel) [ PHP ](https://mozex.dev/blog/tags/php) [ Open Source ](https://mozex.dev/blog/tags/open-source) [ AI ](https://mozex.dev/blog/tags/ai) [ Anthropic ](https://mozex.dev/blog/tags/anthropic)  

###  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,774+  

 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
