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

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

  [ ![](https://cdn.msaied.com/656/01M27ZF9VSQC7BQC96HV2KABSD.png)Featured · Laravel8 min read Referenceable: Generate Clean and Customizable Reference Numbers in Laravel
----------------------------------------------------------------------------

Referenceable is an open-source Laravel package for generating clean, customizable reference numbers for Eloquent models using random, sequential, or template-based strategies, with support for sequence resets, multi-tenancy, validation, and collision handling.Read article → 

 ](https://msaied.com/articles/referenceable-generate-clean-and-customizable-reference-numbers-in-laravel) Topics
------

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

Topics   Sort articles Newest first  Oldest first  Sort  

  [![](https://cdn.msaied.com/795/9d9dd20c259ecc6356a91021a872695c.png)](https://msaied.com/articles/eloquent-query-optimization-defeating-n1-problems-at-the-source)18 Oct 2026·3 min read 

### [Eloquent Query Optimization: Defeating N+1 Problems at the Source](https://msaied.com/articles/eloquent-query-optimization-defeating-n1-problems-at-the-source) 

 N+1 queries silently destroy Laravel app performance. This guide shows you how to detect, fix, and prevent them using eager loading strategies, query counting in tests, and Eloquent relationship tuning.

   [![](https://cdn.msaied.com/794/ceed213d17627e0cfd9535e4ae909775.png)](https://msaied.com/articles/filament-v4-custom-table-columns-building-reusable-typed-column-components)18 Oct 2026·3 min read 

### [Filament v4 Custom Table Columns: Building Reusable, Typed Column Components](https://msaied.com/articles/filament-v4-custom-table-columns-building-reusable-typed-column-components) 

 Go beyond built-in columns in Filament v4. Learn to build fully typed, reusable custom table columns with render logic, state resolution, and proper Blade integration.

   [![](https://cdn.msaied.com/793/9ec9d2cf138593ecc4292fa9fa49ee7a.png)](https://msaied.com/articles/testing-filament-resources-actions-and-form-assertions-with-pest-5)18 Oct 2026·3 min read 

### [Testing Filament Resources, Actions, and Form Assertions with Pest](https://msaied.com/articles/testing-filament-resources-actions-and-form-assertions-with-pest-5) 

 A practical guide to writing expressive, maintainable Pest tests for Filament v4 resources — covering list tables, create/edit forms, custom actions, and authorization assertions without brittle DOM selectors.

   [![](https://cdn.msaied.com/792/bb8ca53bdeeb8f56f86b6a34e8e5a0f2.png)](https://msaied.com/articles/domain-driven-design-in-laravel-actions-dtos-and-value-objects-without-bloat-4)18 Oct 2026·4 min read 

### [Domain-Driven Design in Laravel: Actions, DTOs, and Value Objects Without Bloat](https://msaied.com/articles/domain-driven-design-in-laravel-actions-dtos-and-value-objects-without-bloat-4) 

 Skip the ceremony. Learn how to apply DDD building blocks — Actions, DTOs, and Value Objects — in a Laravel codebase without drowning in boilerplate or over-engineering every feature.

   [![](https://cdn.msaied.com/791/8bc85df3b88387f1d37d06a7c65b0de3.png)](https://msaied.com/articles/filament-v3-custom-field-plugins-building-reusable-input-components-from-scratch)17 Oct 2026·4 min read 

### [Filament v3 Custom Field Plugins: Building Reusable Input Components from Scratch](https://msaied.com/articles/filament-v3-custom-field-plugins-building-reusable-input-components-from-scratch) 

 Go beyond built-in fields and build a fully packaged Filament v3 custom field plugin — covering the Field contract, state hydration, Blade views, and Alpine.js wiring for real-world reuse.

   [![](https://cdn.msaied.com/790/3b305e067cf21c59b93a26f96786fabd.png)](https://msaied.com/articles/postgresql-window-functions-in-laravel-ranking-running-totals-and-gap-detection-3)17 Oct 2026·2 min read 

### [PostgreSQL Window Functions in Laravel: Ranking, Running Totals, and Gap Detection](https://msaied.com/articles/postgresql-window-functions-in-laravel-ranking-running-totals-and-gap-detection-3) 

 Window functions let you compute rankings, running totals, and gaps directly in SQL without pulling rows into PHP. Learn how to use them cleanly from Laravel's query builder.

   [![](https://cdn.msaied.com/789/40fed96a77e341e8fdd2b49f888d1d92.png)](https://msaied.com/articles/event-sourcing-in-laravel-aggregates-projectors-and-reactors-without-a-framework)17 Oct 2026·4 min read 

### [Event Sourcing in Laravel: Aggregates, Projectors, and Reactors Without a Framework](https://msaied.com/articles/event-sourcing-in-laravel-aggregates-projectors-and-reactors-without-a-framework) 

 Build a lean event-sourced system in Laravel using plain PHP classes, Eloquent event streams, and synchronous projectors — no heavy package required. Practical patterns for aggregates, snapshots, and read-model rebuilds.

   [![](https://cdn.msaied.com/788/efb3e90bd9347b097a81544cadd32b67.png)](https://msaied.com/articles/readwrite-splitting-and-sticky-reads-in-laravel-a-production-guide-2)17 Oct 2026·4 min read 

### [Read/Write Splitting and Sticky Reads in Laravel: A Production Guide](https://msaied.com/articles/readwrite-splitting-and-sticky-reads-in-laravel-a-production-guide-2) 

 Configure Laravel's read/write connection splitting correctly, avoid stale-read bugs with sticky sessions, and tune connection pooling so your replicas actually reduce primary load.

   [![](https://cdn.msaied.com/787/3dbb2870a99a7e4609f817339f391a5e.png)](https://msaied.com/articles/fluent-rule-builders-for-all-laravel-validation-rules)16 Oct 2026·4 min read 

### [Fluent Rule Builders for All Laravel Validation Rules](https://msaied.com/articles/fluent-rule-builders-for-all-laravel-validation-rules) 

 Laravel 13.36 adds fluent Rule class builders for every validation rule that was previously string-only, giving you autocomplete, type safety, and correct handling of values that contain commas.

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

   ← Newer1. 1
2. [2](https://msaied.com/articles?page=2)
3. [3](https://msaied.com/articles?page=3)
4. [4](https://msaied.com/articles?page=4)
5. [5](https://msaied.com/articles?page=5)
6. [6](https://msaied.com/articles?page=6)
7. [7](https://msaied.com/articles?page=7)
8. [8](https://msaied.com/articles?page=8)
9. [9](https://msaied.com/articles?page=9)
10. [10](https://msaied.com/articles?page=10)
11. ...
12. [78](https://msaied.com/articles?page=78)
13. [79](https://msaied.com/articles?page=79)

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