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

 30 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=database&sort=new)
- [Composer Pacakge85 articles](https://msaied.com/articles?category=composer-pacakge&search=database&sort=new)
- [Filament31 articles](https://msaied.com/articles?category=filament&search=database&sort=new)
- [Laravel290 articles](https://msaied.com/articles?category=laravel&search=database&sort=new)
- [Livewire16 articles](https://msaied.com/articles?category=livewire&search=database&sort=new)
- [Open Source47 articles](https://msaied.com/articles?category=open-source&search=database&sort=new)
- [PHP34 articles](https://msaied.com/articles?category=php&search=database&sort=new)
- [Tips &amp; Tricks37 articles](https://msaied.com/articles?category=tips-tricks&search=database&sort=new)

  Topics
------

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

Topics     Sort articles Newest first  Oldest first  Sort  

 [Search: database ×Remove search](https://msaied.com/articles?category=laravel&sort=new) [Laravel ×Remove category](https://msaied.com/articles?search=database&sort=new) [ Clear filters](https://msaied.com/articles) 

  [![](https://cdn.msaied.com/823/3443348a15b03db8960a1180670529ff.png)](https://msaied.com/articles/replay-missed-laravel-scheduled-tasks-with-schedule-catchup)9 Nov 2026·4 min read 

### [Replay Missed Laravel Scheduled Tasks With Schedule Catchup](https://msaied.com/articles/replay-missed-laravel-scheduled-tasks-with-schedule-catchup) 

 Schedule Catchup is a Laravel package that records scheduler activity in the database and automatically replays tasks missed during server downtime, so critical jobs like daily reports are never silently skipped.

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

   [![](https://cdn.msaied.com/816/a5801f7786d2c70f010c322468e7d2b0.png)](https://msaied.com/articles/flock-a-free-native-laravel-herd-alternative-for-macos-windows-and-linux)3 Nov 2026·4 min read 

### [Flock: A Free, Native Laravel Herd Alternative for macOS, Windows, and Linux](https://msaied.com/articles/flock-a-free-native-laravel-herd-alternative-for-macos-windows-and-linux) 

 Flock 1.0.0 is a free, open-source local development app for Laravel and PHP that runs native processes on macOS, Windows, and Linux — no Docker required. It includes databases, mail catching, and a dump viewer at no cost.

 [Laravel](https://msaied.com/articles?category=laravel) [Open Source](https://msaied.com/articles?category=open-source) 

   [![](https://cdn.msaied.com/806/7655717eef251177fe662e2802c93d39.png)](https://msaied.com/articles/laravel-read-replicas-prevent-stale-reads-after-a-write)22 Oct 2026·4 min read 

### [Laravel Read Replicas: Prevent Stale Reads After a Write](https://msaied.com/articles/laravel-read-replicas-prevent-stale-reads-after-a-write) 

 Laravel 13.38 introduces PreventStaleDatabaseReads middleware and usingWritePdo() to stop users from seeing outdated data after a write when read replicas lag behind the primary server.

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

   [![](https://cdn.msaied.com/746/496c70db85d5a374cca5e7f9c0a182a8.png)](https://msaied.com/articles/grant-enum-based-roles-and-permissions-for-laravel)5 Oct 2026·3 min read 

### [Grant: Enum-Based Roles and Permissions for Laravel](https://msaied.com/articles/grant-enum-based-roles-and-permissions-for-laravel) 

 Grant is a Laravel package that lets you define roles and permissions as PHP enums, stores assignments in the database, and routes all checks through Laravel's Gate so can(), Gate::authorize(), and @can work out of the box.

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

   [![](https://cdn.msaied.com/713/98c40d9d0472588d25d8b8359a96d1b1.png)](https://msaied.com/articles/tashil-add-subscription-plans-and-feature-usage-limits-to-laravel)28 Sep 2026·4 min read 

### [Tashil: Add Subscription Plans and Feature Usage Limits to Laravel](https://msaied.com/articles/tashil-add-subscription-plans-and-feature-usage-limits-to-laravel) 

 Tashil is a Laravel package that stores subscription plans in your database, tracks per-feature usage limits, fires warning events, and generates MRR and churn reports — without handling payments itself.

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

   [![](https://cdn.msaied.com/697/2450936023128760d64547a61ee24087.png)](https://msaied.com/articles/auto-load-generated-columns-after-save-with-laravels-refreshes-attribute)23 Sep 2026·4 min read 

### [Auto-Load Generated Columns After Save with Laravel's #\[Refreshes\] Attribute](https://msaied.com/articles/auto-load-generated-columns-after-save-with-laravels-refreshes-attribute) 

 Laravel 13.33 introduced the #\[Refreshes\] PHP attribute for Eloquent models. Declare which database-computed columns to reload and Eloquent fetches them automatically after every insert or update.

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

   [![](https://cdn.msaied.com/690/f125c0f9698cce9dd5e241f7030543ba.png)](https://msaied.com/articles/difflock-lint-laravel-migrations-and-diff-your-database-schema)20 Sep 2026·4 min read 

### [Difflock: Lint Laravel Migrations and Diff Your Database Schema](https://msaied.com/articles/difflock-lint-laravel-migrations-and-diff-your-database-schema) 

 Difflock is a Laravel package that lints pending migrations against your live database schema, records schema baselines, guards migrations in CI, and exposes MCP tools for AI coding agents.

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

   [![](https://cdn.msaied.com/654/ce4664bb35491daddd82fc073950ad24.png)](https://msaied.com/articles/preview-blade-templates-in-macos-finder-with-quick-blade)9 Sep 2026·2 min read 

### [Preview Blade Templates in macOS Finder with Quick Blade](https://msaied.com/articles/preview-blade-templates-in-macos-finder-with-quick-blade) 

 Quick Blade is a macOS Quick Look extension that renders .blade.php files directly in Finder — no dev server, no database, no network connection required. Just select a file and press the space bar.

 [Laravel](https://msaied.com/articles?category=laravel) [Open Source](https://msaied.com/articles?category=open-source) 

   [![](https://cdn.msaied.com/605/c67ac0ef4197be20a45afdbc4f26f670.png)](https://msaied.com/articles/pessimistic-locking-in-laravel-eloquent-with-refreshforupdate)28 Aug 2026·3 min read 

### [Pessimistic Locking in Laravel Eloquent with refreshForUpdate()](https://msaied.com/articles/pessimistic-locking-in-laravel-eloquent-with-refreshforupdate) 

 Laravel 13.27 adds refreshForUpdate() to Eloquent, letting you reload a model from the database and acquire a FOR UPDATE row lock in a single method call — no more manual query rebuilding inside transactions.

 [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?category=laravel&search=database&page=2)
3. [3](https://msaied.com/articles?category=laravel&search=database&page=3)
4. [4](https://msaied.com/articles?category=laravel&search=database&page=4)

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