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

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

  Topics
------

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

Topics    Sort articles Newest first  Oldest first  Sort  

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

  [![](https://cdn.msaied.com/483/0b80ca4c39b98b48f8d3475ac949ea0f.png)](https://msaied.com/articles/laravel-typed-enums-as-first-class-citizens-casts-rules-and-php-83-features)29 Jul 2026·3 min read 

### [Laravel Typed Enums as First-Class Citizens: Casts, Rules, and PHP 8.3 Features](https://msaied.com/articles/laravel-typed-enums-as-first-class-citizens-casts-rules-and-php-83-features) 

 PHP 8.1 enums changed how we model domain state. This article shows how to wire backed enums into Eloquent casts, form validation rules, and route binding — with PHP 8.3 typed constants making everything tighter.

   [![](https://cdn.msaied.com/266/81a05f630d54004d2a6689a02d6f0579.png)](https://msaied.com/articles/laravel-enums-as-first-class-domain-citizens-typed-casts-backed-values-and-behaviour)22 Jun 2026·1 min read 

### [Laravel Enums as First-Class Domain Citizens: Typed Casts, Backed Values, and Behaviour](https://msaied.com/articles/laravel-enums-as-first-class-domain-citizens-typed-casts-backed-values-and-behaviour) 

 PHP 8.1 backed enums are more than constants. Learn how to attach behaviour, use them as Eloquent casts, embed them in value objects, and write expressive domain logic without a single string literal.

   [![](https://cdn.msaied.com/92/837ec69ce6f3694d5325dda2c2e858c4.png)](https://msaied.com/articles/leveraging-carbon-constants-for-cleaner-date-and-time-logic-in-laravel)21 Sep 2022·3 min read 

### [Leveraging Carbon Constants for Cleaner Date and Time Logic in Laravel](https://msaied.com/articles/leveraging-carbon-constants-for-cleaner-date-and-time-logic-in-laravel) 

 Discover how using Carbon's predefined constants can simplify your date and time comparisons in Laravel, making your code more readable and less error-prone.

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

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