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

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

  Topics
------

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

Topics    Sort articles Newest first  Oldest first  Sort  

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

  [![](https://cdn.msaied.com/782/215fd94331f880a70b7bfaf16528790d.png)](https://msaied.com/articles/laravel-url-ai-transformer-extract-structured-data-from-urls)14 Oct 2026·4 min read 

### [Laravel URL AI Transformer: Extract Structured Data From URLs](https://msaied.com/articles/laravel-url-ai-transformer-extract-structured-data-from-urls) 

 Spatie's Laravel URL AI Transformer fetches URLs, sends each page's content to an AI model, and stores structured results in your database — with built-in JSON-LD support, failure tracking, and testable transformers.

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

   [![](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/726/cde0e4e03a15ea0776e82aca8727f660.png)](https://msaied.com/articles/laravel-ai-sdk-tool-calling-agents-and-conversation-persistence-4)1 Oct 2026·3 min read 

### [Laravel AI SDK: Tool-Calling Agents and Conversation Persistence](https://msaied.com/articles/laravel-ai-sdk-tool-calling-agents-and-conversation-persistence-4) 

 Build reliable tool-calling AI agents in Laravel using the AI SDK, with typed tool definitions, structured responses, and durable conversation history stored in your database.

   [![](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/681/08058424f0e8433b83d9008c6b701cd8.png)](https://msaied.com/articles/practical-rag-in-laravel-pgvector-embeddings-and-retrieval-augmented-generation)19 Sep 2026·4 min read 

### [Practical RAG in Laravel: pgvector, Embeddings, and Retrieval-Augmented Generation](https://msaied.com/articles/practical-rag-in-laravel-pgvector-embeddings-and-retrieval-augmented-generation) 

 Build a production-ready RAG pipeline in Laravel using pgvector, OpenAI embeddings, and a clean retrieval layer — without reaching for a dedicated vector database.

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

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