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

How "Sign in With Google" Works Behind the Button (and the Checks You Shouldn't Skip)

How "Sign in With Google" Works Behind the Button (and the Checks You Shouldn't Skip)

Blog Summary

One click, pick an account, you're in. Behind it: OpenID Connect, a signed ID token and a few checks that decide whether the right person gets the right account. Here's the full flow, the token, and a Laravel Socialite setup.

Read more
  • 47
  • 125
  • 23

Writing Laravel Migrations That Are Safe to Run Twice and Easy to Roll Back

Writing Laravel Migrations That Are Safe to Run Twice and Easy to Roll Back

Blog Summary

In MySQL, a migration that fails halfway stays half-applied, and Laravel thinks it never ran. Five habits make retries and rollbacks boring again: small migrations, guards, honest down methods, separate data scripts and CI round trips.

Read more
  • 122
  • 11
  • 13

Laravel Horizon in Production: Queue Monitoring That Actually Tells You Something

Laravel Horizon in Production: Queue Monitoring That Actually Tells You Something

Blog Summary

Queued jobs fail quietly: no error page, no complaint, just work that never happens. Here's how to set up Laravel Horizon so it answers the four questions that matter in production, with config you can adapt.

Read more
  • 58
  • 22
  • 5

UUID vs ULID vs Auto-Increment: Choosing IDs That Don't Race, Leak or Slow You Down

UUID vs ULID vs Auto-Increment: Choosing IDs That Don't Race, Leak or Slow You Down

Blog Summary

Auto-increment IDs leak your volume, random UUIDs can hurt insert performance, and neither is a security fix on its own. Here's how UUID, UUIDv7, ULID and plain integers really compare, and the hybrid that often wins.

Read more
  • 73
  • 32
  • 6

State Machines for Business Workflows: Stop Letting Any Code Set Any Status

State Machines for Business Workflows: Stop Letting Any Code Set Any Status

Blog Summary

A contract that was signed after it was terminated. An order refunded before it was paid. Impossible records come from status columns anyone can write. Here's how a small state machine with PHP enums makes them impossible.

Read more
  • 100
  • 63
  • 18

Seven Mistakes When Building Search Features (and What to Do Instead)

Seven Mistakes When Building Search Features (and What to Do Instead)

Blog Summary

Search looks like a lunchtime feature: one input, one LIKE query. Then real data arrives and it's slow, badly ranked and allergic to typos. Seven common search mistakes and the fixes, from FULLTEXT to Laravel Scout.

Read more
  • 72
  • 39
  • 17

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