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

 18 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=octane&sort=new)
- [Composer Pacakge80 articles](https://msaied.com/articles?category=composer-pacakge&search=octane&sort=new)
- [Filament27 articles](https://msaied.com/articles?category=filament&search=octane&sort=new)
- [Laravel266 articles](https://msaied.com/articles?category=laravel&search=octane&sort=new)
- [Livewire13 articles](https://msaied.com/articles?category=livewire&search=octane&sort=new)
- [Open Source44 articles](https://msaied.com/articles?category=open-source&search=octane&sort=new)
- [PHP27 articles](https://msaied.com/articles?category=php&search=octane&sort=new)
- [Tips &amp; Tricks32 articles](https://msaied.com/articles?category=tips-tricks&search=octane&sort=new)

  Topics
------

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

Topics    Sort articles Newest first  Oldest first  Sort  

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

  [![](https://cdn.msaied.com/731/7cabd03b86a18f1db2c9ff7de1510270.png)](https://msaied.com/articles/laravel-octane-frankenphp-request-lifecycle-shared-state-and-safe-singleton-patterns)3 Oct 2026·3 min read 

### [Laravel Octane + FrankenPHP: Request Lifecycle, Shared State, and Safe Singleton Patterns](https://msaied.com/articles/laravel-octane-frankenphp-request-lifecycle-shared-state-and-safe-singleton-patterns) 

 Running Laravel under FrankenPHP workers changes everything about object lifetime. Learn how to reason about shared state, safely register singletons, and avoid the subtle bugs that only appear under persistent-process runtimes.

   [![](https://cdn.msaied.com/705/8e7dc5a87f9f9a30b8523ca5280e8f97.png)](https://msaied.com/articles/octane-state-leakage-detecting-and-fixing-shared-memory-bugs-in-laravel-workers)26 Sep 2026·4 min read 

### [Octane State Leakage: Detecting and Fixing Shared-Memory Bugs in Laravel Workers](https://msaied.com/articles/octane-state-leakage-detecting-and-fixing-shared-memory-bugs-in-laravel-workers) 

 Laravel Octane keeps workers alive across requests, making shared state a silent killer. Learn how to detect, reproduce, and permanently fix state leakage with practical code patterns.

   [![](https://cdn.msaied.com/612/2bd17daafd0c48a0aa824a6d744fb403.png)](https://msaied.com/articles/laravel-octane-frankenphp-persistent-services-shared-state-and-safe-singletons)31 Aug 2026·4 min read 

### [Laravel Octane + FrankenPHP: Persistent Services, Shared State, and Safe Singletons](https://msaied.com/articles/laravel-octane-frankenphp-persistent-services-shared-state-and-safe-singletons) 

 Running Laravel under FrankenPHP workers means your service container lives across requests. Learn which singletons are safe, how to reset dirty state, and patterns for writing Octane-aware code without surprises.

   [![](https://cdn.msaied.com/554/8cc265358b47e59601a66d1e247eba9a.png)](https://msaied.com/articles/octane-worker-lifecycle-state-leakage-and-memory-management-in-production-2)16 Aug 2026·3 min read 

### [Octane Worker Lifecycle, State Leakage, and Memory Management in Production](https://msaied.com/articles/octane-worker-lifecycle-state-leakage-and-memory-management-in-production-2) 

 Laravel Octane keeps workers alive across requests, which means static state, resolved singletons, and stale data can bleed between users. Learn exactly where leakage happens and how to prevent it.

   [![](https://cdn.msaied.com/534/fdb2d91db2cb26fba0788d205b663031.png)](https://msaied.com/articles/livewire-v384-released-octane-memory-leak-fix-and-fetch-redirect-handling)10 Aug 2026·3 min read 

### [Livewire v3.8.4 Released: Octane Memory Leak Fix and Fetch Redirect Handling](https://msaied.com/articles/livewire-v384-released-octane-memory-leak-fix-and-fetch-redirect-handling) 

 Livewire v3.8.4 ships two important backports: a fix for a computed property listener memory leak under Laravel Octane, and improved fetch redirect handling. Here is what changed and why it matters.

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

   [![](https://cdn.msaied.com/486/7a50572cb8b282ae36063a9213f55ed3.png)](https://msaied.com/articles/laravel-octane-frankenphp-persistent-services-boot-once-singletons-and-safe-state)30 Jul 2026·4 min read 

### [Laravel Octane + FrankenPHP: Persistent Services, Boot-Once Singletons, and Safe State](https://msaied.com/articles/laravel-octane-frankenphp-persistent-services-boot-once-singletons-and-safe-state) 

 Running Laravel under FrankenPHP with Octane means your service container lives across requests. Learn which singletons are safe, how to scope state correctly, and where memory leaks hide.

   [![](https://cdn.msaied.com/442/b239b69e5a334711c8b4ca8804556c64.png)](https://msaied.com/articles/laravel-macros-mixins-and-custom-collection-methods-that-actually-ship-1)19 Jul 2026·3 min read 

### [Laravel Macros, Mixins, and Custom Collection Methods That Actually Ship](https://msaied.com/articles/laravel-macros-mixins-and-custom-collection-methods-that-actually-ship-1) 

 Go beyond toy examples: learn how to register macros safely, build reusable mixins, and add typed custom Collection methods that survive Octane restarts and static analysis.

   [![](https://cdn.msaied.com/440/abbd7cbb286a5bd8ea53bee583d2c30f.png)](https://msaied.com/articles/octane-worker-lifecycle-state-leakage-and-memory-management-in-production-1)18 Jul 2026·4 min read 

### [Octane Worker Lifecycle, State Leakage, and Memory Management in Production](https://msaied.com/articles/octane-worker-lifecycle-state-leakage-and-memory-management-in-production-1) 

 Laravel Octane keeps workers alive between requests, which means static state, resolved singletons, and leaked closures silently corrupt responses. Learn exactly where leakage happens and how to prevent it.

   [![](https://cdn.msaied.com/370/4281f7f24283d53ad4c1e162c905cf2b.png)](https://msaied.com/articles/octane-worker-lifecycle-state-leakage-and-safe-singleton-patterns-in-laravel)5 Jul 2026·4 min read 

### [Octane Worker Lifecycle, State Leakage, and Safe Singleton Patterns in Laravel](https://msaied.com/articles/octane-worker-lifecycle-state-leakage-and-safe-singleton-patterns-in-laravel) 

 Laravel Octane keeps workers alive across requests, which means stale state silently corrupts responses. Learn exactly where leakage happens and how to write safe singletons that survive the worker lifecycle.

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

 1 / 2 [Older →](https://msaied.com/articles?search=octane&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=octane&sort=new) [Composer Pacakge (80) ](https://msaied.com/articles?category=composer-pacakge&search=octane&sort=new) [Filament (27) ](https://msaied.com/articles?category=filament&search=octane&sort=new) [Laravel (266) ](https://msaied.com/articles?category=laravel&search=octane&sort=new) [Livewire (13) ](https://msaied.com/articles?category=livewire&search=octane&sort=new) [Open Source (44) ](https://msaied.com/articles?category=open-source&search=octane&sort=new) [PHP (27) ](https://msaied.com/articles?category=php&search=octane&sort=new) [Tips &amp; Tricks (32) ](https://msaied.com/articles?category=tips-tricks&search=octane&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)
