Articles | Mohamed Said      [Skip to content](#main)  [ ![](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png) Mohamed SaidLaravel Backend Engineer ](https://msaied.com) - [Home](https://msaied.com)
- [Projects](https://msaied.com/projects)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [About](https://msaied.com#about)

           [  Contact](https://msaied.com#contact) Menu 

Menu
----

Close 

 - [HomeStart here](https://msaied.com)
- [ProjectsCase studies](https://msaied.com/projects)
- [ArticlesEngineering notes](https://msaied.com/articles)
- [CertificatesCredentials](https://msaied.com/certificates)
- [AboutHow I work](https://msaied.com#about)
- [ContactGet in touch](https://msaied.com#contact)

  [Start a conversation](https://msaied.com#contact) [WhatsApp](https://wa.me/201094619204) [Email](mailto:hello@msaied.com) 

  1. [Home](https://msaied.com)
2. /
3. Articles

  Engineering library
====================

 41 articles by Mohamed Said on Laravel, PHP, databases, APIs and infrastructure, written from production work.

 Search articles ⌕×Search 

    Topic hubs
----------

←→

- [AI48 articles](https://msaied.com/articles?category=ai&search=Middleware&sort=new)
- [Composer Pacakge81 articles](https://msaied.com/articles?category=composer-pacakge&search=Middleware&sort=new)
- [Filament27 articles](https://msaied.com/articles?category=filament&search=Middleware&sort=new)
- [Laravel267 articles](https://msaied.com/articles?category=laravel&search=Middleware&sort=new)
- [Livewire13 articles](https://msaied.com/articles?category=livewire&search=Middleware&sort=new)
- [Open Source44 articles](https://msaied.com/articles?category=open-source&search=Middleware&sort=new)
- [PHP27 articles](https://msaied.com/articles?category=php&search=Middleware&sort=new)
- [Tips &amp; Tricks32 articles](https://msaied.com/articles?category=tips-tricks&search=Middleware&sort=new)

  Topics
------

 [All topics](https://msaied.com/articles?search=Middleware&sort=new) [AI 48](https://msaied.com/articles?category=ai&search=Middleware&sort=new) [Composer Pacakge 81](https://msaied.com/articles?category=composer-pacakge&search=Middleware&sort=new) [Filament 27](https://msaied.com/articles?category=filament&search=Middleware&sort=new) [Laravel 267](https://msaied.com/articles?category=laravel&search=Middleware&sort=new) [Livewire 13](https://msaied.com/articles?category=livewire&search=Middleware&sort=new) [Open Source 44](https://msaied.com/articles?category=open-source&search=Middleware&sort=new) [PHP 27](https://msaied.com/articles?category=php&search=Middleware&sort=new) [Tips &amp; Tricks 32](https://msaied.com/articles?category=tips-tricks&search=Middleware&sort=new)    41 articles
------------

Topics    Sort articles Newest first  Oldest first  Sort  

 [Search: Middleware ×Remove search](https://msaied.com/articles?sort=new) [ Clear filters](https://msaied.com/articles) 

  [![](https://cdn.msaied.com/740/cce86edc21eddcbdd2f2454fadaf9c70.png)](https://msaied.com/articles/the-pipeline-pattern-in-laravel-custom-pipelines-beyond-middleware-1)5 Oct 2026·3 min read 

### [The Pipeline Pattern in Laravel: Custom Pipelines Beyond Middleware](https://msaied.com/articles/the-pipeline-pattern-in-laravel-custom-pipelines-beyond-middleware-1) 

 Laravel's Pipeline class is far more than the engine behind HTTP middleware. Learn how to build typed, composable pipelines for domain workflows, data transformation, and multi-step validation with clean, testable pipe classes.

   [![](https://cdn.msaied.com/738/073696a3fefe18bec825beec5ac658f5.png)](https://msaied.com/articles/laravel-queue-rate-limited-middleware-throttling-jobs-without-losing-work)4 Oct 2026·4 min read 

### [Laravel Queue Rate-Limited Middleware: Throttling Jobs Without Losing Work](https://msaied.com/articles/laravel-queue-rate-limited-middleware-throttling-jobs-without-losing-work) 

 Rate-limited job middleware in Laravel lets you throttle expensive third-party calls at the worker level, not the HTTP layer. Learn how to build composable, Redis-backed throttles that survive retries and respect external API limits.

   [![](https://cdn.msaied.com/712/7fd2cb3e1dda6c009d734cd376d14e36.png)](https://msaied.com/articles/profiling-laravel-with-blackfire-and-xdebug-finding-real-bottlenecks-2)28 Sep 2026·4 min read 

### [Profiling Laravel with Blackfire and Xdebug: Finding Real Bottlenecks](https://msaied.com/articles/profiling-laravel-with-blackfire-and-xdebug-finding-real-bottlenecks-2) 

 Stop guessing where your Laravel app is slow. Learn how to use Blackfire and Xdebug profiling together to pinpoint real bottlenecks in Eloquent queries, service resolution, and middleware stacks.

   [![](https://cdn.msaied.com/708/08ce1de79b1d408fbd91c91ddcb3f056.png)](https://msaied.com/articles/multi-tenant-saas-with-laravel-scoping-queries-resolving-tenants-and-isolating-state)27 Sep 2026·3 min read 

### [Multi-Tenant SaaS with Laravel: Scoping Queries, Resolving Tenants, and Isolating State](https://msaied.com/articles/multi-tenant-saas-with-laravel-scoping-queries-resolving-tenants-and-isolating-state) 

 A practical deep-dive into building multi-tenant SaaS with Laravel — covering tenant resolution middleware, automatic Eloquent scoping, connection switching, and safe singleton isolation without a third-party package.

   [![](https://cdn.msaied.com/698/65d5ceeb67b5ceb383a05b0d760515d1.png)](https://msaied.com/articles/laravel-ai-sdk-v10-classification-approvable-tools-agent-middleware-more)23 Sep 2026·5 min read 

### [Laravel AI SDK v1.0: Classification, Approvable Tools, Agent Middleware &amp; More](https://msaied.com/articles/laravel-ai-sdk-v10-classification-approvable-tools-agent-middleware-more) 

 Laravel AI SDK v1.0 ships with Jev classification, approvable tool calls, per-step agent middleware, Vercel Chat and AG-UI protocol support, tool search, code execution, and a redesigned conversation schema.

 [Laravel](https://msaied.com/articles?category=laravel) [AI](https://msaied.com/articles?category=ai) 

   [![](https://cdn.msaied.com/637/1b6b067bc3805768f8e1f546d2ba7545.png)](https://msaied.com/articles/the-pipeline-pattern-in-laravel-building-custom-pipelines-beyond-middleware-2)6 Sep 2026·3 min read 

### [The Pipeline Pattern in Laravel: Building Custom Pipelines Beyond Middleware](https://msaied.com/articles/the-pipeline-pattern-in-laravel-building-custom-pipelines-beyond-middleware-2) 

 Laravel's Pipeline class powers middleware, but it's equally powerful for domain workflows. Learn how to build typed, testable pipelines for complex business logic without coupling to HTTP.

   [![](https://cdn.msaied.com/635/e10d72c500d7a25f077552f3098478e8.png)](https://msaied.com/articles/laravel-job-middleware-rate-limiting-throttling-and-skipping-jobs-without-hacks)6 Sep 2026·4 min read 

### [Laravel Job Middleware: Rate Limiting, Throttling, and Skipping Jobs Without Hacks](https://msaied.com/articles/laravel-job-middleware-rate-limiting-throttling-and-skipping-jobs-without-hacks) 

 Job middleware in Laravel lets you wrap queue job execution with reusable logic. Learn how to build rate-limited, throttleable, and conditionally skipped jobs cleanly — no static flags or queue hacks required.

   [![](https://cdn.msaied.com/594/c38a3d613735b3f43e77683aeb0cce84.png)](https://msaied.com/articles/multi-tenant-saas-with-laravel-isolating-tenant-data-using-row-level-scoping)26 Aug 2026·3 min read 

### [Multi-Tenant SaaS with Laravel: Isolating Tenant Data Using Row-Level Scoping](https://msaied.com/articles/multi-tenant-saas-with-laravel-isolating-tenant-data-using-row-level-scoping) 

 Row-level multi-tenancy keeps your schema simple but demands discipline. Learn how to enforce tenant isolation with a global scope, middleware, and Pest tests that catch leakage before it ships.

   [![](https://cdn.msaied.com/562/7649de72113e99332a9f7e25015f9397.png)](https://msaied.com/articles/laravel-lock-distributed-locks-for-models-and-routes)17 Aug 2026·4 min read 

### [Laravel Lock: Distributed Locks for Models and Routes](https://msaied.com/articles/laravel-lock-distributed-locks-for-models-and-routes) 

 Laravel Lock is a package by Md Mahedi Zaman Zaber that wraps distributed locking behind a fluent builder, a HasLocks model trait, and route middleware — backed by either cache or database storage.

 [Laravel](https://msaied.com/articles?category=laravel) [Composer Pacakge](https://msaied.com/articles?category=composer-pacakge) 

   ← Newer1. 1
2. [2](https://msaied.com/articles?search=Middleware&page=2)
3. [3](https://msaied.com/articles?search=Middleware&page=3)
4. [4](https://msaied.com/articles?search=Middleware&page=4)
5. [5](https://msaied.com/articles?search=Middleware&page=5)

 1 / 5 [Older →](https://msaied.com/articles?search=Middleware&page=2)   

  Have a technical challenge?
----------------------------

Tell me what you’re building. I reply within two working days.

 [Discuss your project ↗](https://msaied.com#contact) 

Topics
------

Close 

 [All topics](https://msaied.com/articles) [AI (48) ](https://msaied.com/articles?category=ai&search=Middleware&sort=new) [Composer Pacakge (81) ](https://msaied.com/articles?category=composer-pacakge&search=Middleware&sort=new) [Filament (27) ](https://msaied.com/articles?category=filament&search=Middleware&sort=new) [Laravel (267) ](https://msaied.com/articles?category=laravel&search=Middleware&sort=new) [Livewire (13) ](https://msaied.com/articles?category=livewire&search=Middleware&sort=new) [Open Source (44) ](https://msaied.com/articles?category=open-source&search=Middleware&sort=new) [PHP (27) ](https://msaied.com/articles?category=php&search=Middleware&sort=new) [Tips &amp; Tricks (32) ](https://msaied.com/articles?category=tips-tricks&search=Middleware&sort=new)  

  © 2026 Mohamed Said · Built with Laravel, meant to last.Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

 - [Home](https://msaied.com)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [GitHub](https://github.com/EG-Mohamed)
- [LinkedIn](https://www.linkedin.com/in/msaiedm/)
- [WhatsApp](https://wa.me/201094619204)
- [Email Address](mailto:hello@msaied.com)
- [My CV](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
- [Sitemap](https://msaied.com/sitemap.xml)
