Open Source | 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: Open Source 
=====================

     [ Use Laravel's route(), url(), and asset() Helpers Inside Markdown 
-------------------------------------------------------------------

 ](https://mozex.dev/blog/11-use-laravels-route-url-and-asset-helpers-inside-markdown) I had a Laravel project designed to be white-labeled. Swap an env file, change the domain, and the whole application launches as a completely different product. The problem was the Markdown files.

   Apr 6, 2026   ·  5 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) [ Markdown ](https://mozex.dev/blog/tags/markdown)  

  [ How a Rejected PR Became Laravel Scout Bulk Actions 
-----------------------------------------------------

 ](https://mozex.dev/blog/10-how-a-rejected-pr-became-laravel-scout-bulk-actions) If you've used Laravel Scout on a project with more than a couple of searchable models, you know the drill. You change something in your toSearchableArray(), and now you need to flush and reimport every model's index. Two commands per model. Manually. One at a time. On a project with ten searchable models, that's twenty commands to rebuild your search indexes.

   Apr 3, 2026   ·  4 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)  

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

  [ Which AI Package Should You Actually Use in Laravel? 
------------------------------------------------------

 ](https://mozex.dev/blog/5-which-ai-package-should-you-actually-use-in-laravel) Eighteen months ago, using Claude or GPT from a Laravel app meant writing raw HTTP calls or using whatever half-maintained wrapper you could find on Packagist. Today there are four solid options, all actively maintained, all with real download numbers behind them. I maintain one of them. anthropic-php and its Laravel companion anthropic-laravel have a combined 597,000 installs on Packagist. I've been building and shipping AI features in PHP since before most of these packages existed. So when people ask me "which one should I use?", I have opinions. They might surprise you. Here's the honest breakdown.

   Mar 28, 2026   ·  10 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)  

  [ Why I Built My Own Laravel Modules Package 
--------------------------------------------

 ](https://mozex.dev/blog/4-why-i-built-my-own-laravel-modules-package) In late 2023, I was working on a large Laravel project and hit a point where the app/ directory had become a mess. Models, controllers, services, policies, listeners, jobs, notifications, all thrown into flat directories with no logical grouping. Everything related to billing lived next to everything related to user management. Finding anything required memorizing file names instead of following a structure. I knew the answer was modular architecture. Break the application into self-contained modules where each module owns its models, controllers, migrations, routes, views, and everything else related to that feature. I'd seen this pattern work in other frameworks and it made perfect sense for Laravel. So I looked at what was available. I tried several packages. None of them clicked. I started building my own solution inside that project. As it grew and I wanted the same structure in my other projects, I extracted it into an open-source package: mozex/laravel-modules.

   Mar 27, 2026   ·  13 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) [ Architecture ](https://mozex.dev/blog/tags/architecture)  

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

 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
