Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My laravel
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

Feature Flags in Laravel: Ship Safely Without Long-Lived Branches

Feature Flags in Laravel: Ship Safely Without Long-Lived Branches

Blog Summary

Long-lived branches move all the risk to the merge. Feature flags let you merge daily and release when ready. Here's how to use Laravel Pennant, keep a kill switch, roll out gradually and clean up afterwards.

Read more
  • 120
  • 147
  • 17

Value Objects in PHP: Small Classes That Prevent Big Bugs

Value Objects in PHP: Small Classes That Prevent Big Bugs

Blog Summary

An amount in the wrong unit, a swapped string argument, a lease that ends before it starts. Value objects like Money, Email and DateRange turn these bugs into errors on the exact line that caused them.

Read more
  • 31
  • 35
  • 4

Why Your Emails Land in Spam: SPF, DKIM and DMARC Explained

Why Your Emails Land in Spam: SPF, DKIM and DMARC Explained

Blog Summary

Your code sent the email. The receiving server just didn't believe it was from you. Here's what SPF, DKIM and DMARC each prove, the gotchas that break them, and how to set up Laravel mail properly.

Read more
  • 29
  • 142
  • 9

Laravel Policies and Gates: Authorization Done Properly

Laravel Policies and Gates: Authorization Done Properly

Blog Summary

Copy-pasted if-checks are how authorization bugs are born. Here's how to move every rule into Laravel policies and gates, avoid the before() trap, filter lists properly and test who gets denied.

Read more
  • 44
  • 95
  • 10

PHP Performance Mistakes Hiding in Your Loops and Queries

PHP Performance Mistakes Hiding in Your Loops and Queries

Blog Summary

Slow PHP is rarely slow because of PHP. It's usually a query inside a loop, a lookup repeated ten thousand times, or a whole table loaded into memory. Six common mistakes with before-and-after code, plus one myth you can stop worrying about.

Read more
  • 143
  • 130
  • 16

What Is a Reverse Proxy? The Server in Front of Your Server

What Is a Reverse Proxy? The Server in Front of Your Server

Blog Summary

Every user IP in your logs is 10.0.0.12 and Laravel keeps generating http:// links on an https site. Both come from the server in front of your server. What a reverse proxy does, and how to make Laravel trust it safely.

Read more
  • 65
  • 123
  • 7

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close