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

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

 Search articles ⌕×Search 

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

←→

- [AI52 articles](https://msaied.com/articles?category=ai&search=streaming&sort=new)
- [Composer Pacakge85 articles](https://msaied.com/articles?category=composer-pacakge&search=streaming&sort=new)
- [Filament31 articles](https://msaied.com/articles?category=filament&search=streaming&sort=new)
- [Laravel290 articles](https://msaied.com/articles?category=laravel&search=streaming&sort=new)
- [Livewire16 articles](https://msaied.com/articles?category=livewire&search=streaming&sort=new)
- [Open Source48 articles](https://msaied.com/articles?category=open-source&search=streaming&sort=new)
- [PHP34 articles](https://msaied.com/articles?category=php&search=streaming&sort=new)
- [Tips &amp; Tricks37 articles](https://msaied.com/articles?category=tips-tricks&search=streaming&sort=new)

  Topics
------

 [All topics](https://msaied.com/articles?search=streaming&sort=new) [AI 52](https://msaied.com/articles?category=ai&search=streaming&sort=new) [Composer Pacakge 85](https://msaied.com/articles?category=composer-pacakge&search=streaming&sort=new) [Filament 31](https://msaied.com/articles?category=filament&search=streaming&sort=new) [Laravel 290](https://msaied.com/articles?category=laravel&search=streaming&sort=new) [Livewire 16](https://msaied.com/articles?category=livewire&search=streaming&sort=new) [Open Source 48](https://msaied.com/articles?category=open-source&search=streaming&sort=new) [PHP 34](https://msaied.com/articles?category=php&search=streaming&sort=new) [Tips &amp; Tricks 37](https://msaied.com/articles?category=tips-tricks&search=streaming&sort=new)    10 articles
------------

Topics    Sort articles Newest first  Oldest first  Sort  

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

  [![](https://cdn.msaied.com/704/165bcb76b898fe9911130d2c93b9b805.png)](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-4)26 Sep 2026·3 min read 

### [Production AI Agents in Laravel: Streaming, Token Budgets, and Structured Output Contracts](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-4) 

 Building reliable AI agents in Laravel means more than wiring up an API call. Learn how to stream responses safely, enforce token budgets, and lock down structured output with typed contracts your application can trust.

   [![](https://cdn.msaied.com/696/4a8dc0443e01d9ddfd47cae8515f2943.png)](https://msaied.com/articles/laravel-ai-sdk-10-classification-tool-approvals-and-vercel-chat-streaming)23 Sep 2026·4 min read 

### [Laravel AI SDK 1.0: Classification, Tool Approvals, and Vercel Chat Streaming](https://msaied.com/articles/laravel-ai-sdk-10-classification-tool-approvals-and-vercel-chat-streaming) 

 Laravel AI SDK 1.0 ships a new Classification capability, human-in-the-loop tool approvals, Vercel Chat and AG-UI streaming support, and a revised conversation storage format—along with breaking changes you need to review before upgrading.

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

   [![](https://cdn.msaied.com/691/336355c7690e72d026fa4cc54943c82b.png)](https://msaied.com/articles/fast-excel-5x-adds-streaming-imports-and-safer-exports-for-laravel)20 Sep 2026·4 min read 

### [Fast Excel 5.x Adds Streaming Imports and Safer Exports for Laravel](https://msaied.com/articles/fast-excel-5x-adds-streaming-imports-and-safer-exports-for-laravel) 

 Fast Excel 5 brings lazy streaming imports via LazyCollection, chunked import controls with headerRow() and startRow(), sheet and column selection, and formula-injection protection with escapeFormulas().

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

   [![](https://cdn.msaied.com/626/8cc4b384a3f740d25d1f8ff8520d36a0.png)](https://msaied.com/articles/group-adjacent-collection-items-in-laravel-with-chunkby)3 Sep 2026·3 min read 

### [Group Adjacent Collection Items in Laravel with chunkBy()](https://msaied.com/articles/group-adjacent-collection-items-in-laravel-with-chunkby) 

 Laravel 13.30 adds chunkBy(), a clean shorthand for chunkWhile() that groups consecutive collection items sharing the same key value — with full LazyCollection support for memory-efficient streaming.

 [Laravel](https://msaied.com/articles?category=laravel) [Tips &amp; Tricks](https://msaied.com/articles?category=tips-tricks) 

   [![](https://cdn.msaied.com/584/3ffe135721c65ab3f9b40401dc3c41de.png)](https://msaied.com/articles/streaming-ai-responses-in-laravel-token-budgets-structured-output-and-agent-contracts)23 Aug 2026·4 min read 

### [Streaming AI Responses in Laravel: Token Budgets, Structured Output, and Agent Contracts](https://msaied.com/articles/streaming-ai-responses-in-laravel-token-budgets-structured-output-and-agent-contracts) 

 Learn how to stream LLM responses in Laravel, enforce token budgets, and lock structured output to typed PHP contracts — keeping production AI agents predictable and cost-controlled.

   [![](https://cdn.msaied.com/466/15db89e4226fa2eecdd82ea72f2d2c01.png)](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-3)25 Jul 2026·3 min read 

### [Production AI Agents in Laravel: Streaming, Token Budgets, and Structured Output Contracts](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-3) 

 Build reliable AI agents in Laravel with SSE streaming, hard token budgets enforced at the application layer, and typed structured output contracts that survive model upgrades without silent failures.

   [![](https://cdn.msaied.com/385/7cc838eef4b97e19a20cbbfd52799f52.png)](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-2)7 Jul 2026·4 min read 

### [Production AI Agents in Laravel: Streaming, Token Budgets, and Structured Output Contracts](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-2) 

 Learn how to build reliable production AI agents in Laravel with streaming responses, enforced token budgets, and typed structured output contracts that survive real-world load.

   [![](https://cdn.msaied.com/325/ee4e73c7fdfa922304594beaac92c93c.png)](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-1)30 Jun 2026·4 min read 

### [Production AI Agents in Laravel: Streaming, Token Budgets, and Structured Output Contracts](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts-1) 

 Building reliable AI agents means more than wiring up an API key. Learn how to stream responses safely, enforce token budgets, and lock down structured output contracts so your Laravel agents behave predictably in production.

   [![](https://cdn.msaied.com/262/4220ef4ee3875717c6384f298d891a3f.png)](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts)22 Jun 2026·3 min read 

### [Production AI Agents in Laravel: Streaming, Token Budgets, and Structured Output Contracts](https://msaied.com/articles/production-ai-agents-in-laravel-streaming-token-budgets-and-structured-output-contracts) 

 Ship reliable AI agents in Laravel by combining streamed responses, hard token budgets, and typed structured-output contracts — without letting LLM non-determinism bleed into your domain layer.

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

 1 / 2 [Older →](https://msaied.com/articles?search=streaming&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 (52) ](https://msaied.com/articles?category=ai&search=streaming&sort=new) [Composer Pacakge (85) ](https://msaied.com/articles?category=composer-pacakge&search=streaming&sort=new) [Filament (31) ](https://msaied.com/articles?category=filament&search=streaming&sort=new) [Laravel (290) ](https://msaied.com/articles?category=laravel&search=streaming&sort=new) [Livewire (16) ](https://msaied.com/articles?category=livewire&search=streaming&sort=new) [Open Source (48) ](https://msaied.com/articles?category=open-source&search=streaming&sort=new) [PHP (34) ](https://msaied.com/articles?category=php&search=streaming&sort=new) [Tips &amp; Tricks (37) ](https://msaied.com/articles?category=tips-tricks&search=streaming&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)
