Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My Programming
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

Writing Webhooks You Can Trust: A Laravel Guide to Receiving Them Safely

Writing Webhooks You Can Trust: A Laravel Guide to Receiving Them Safely

Blog Summary

A webhook endpoint is a public URL that changes your data, so anyone who finds it can try. Here's how to receive webhooks safely in Laravel 12: verify signatures, block replays, store first, process on a queue, and handle duplicates.

Read more
  • 135
  • 149
  • 15

Date and Deadline Mistakes That Quietly Break Business Apps

Date and Deadline Mistakes That Quietly Break Business Apps

Blog Summary

A contract that expires a day early. Rent due on 3 March instead of 28 February. A deadline that passes at 9pm. Date bugs hide until month end. Here are seven classic mistakes, why they happen, and the Carbon fixes.

Read more
  • 56
  • 98
  • 12

Clean Error Handling in Laravel APIs: One Format, No Leaked Stack Traces

Clean Error Handling in Laravel APIs: One Format, No Leaked Stack Traces

Blog Summary

Your API's happy path is tidy. Its errors are a mix of HTML pages, stack traces and five different JSON shapes. Here's how to give every Laravel 12 API error one predictable format, from bootstrap/app.php.

Read more
  • 69
  • 81
  • 24

Laravel Octane: What It Is, When It Helps, and the State Leaks Nobody Warns You About

Laravel Octane: What It Is, When It Helps, and the State Leaks Nobody Warns You About

Blog Summary

Octane keeps your Laravel app booted in memory, so requests skip the startup cost. It also means state can survive from one user's request into the next. Here's how it works, the classic leaks, and when it's worth it.

Read more
  • 48
  • 44
  • 11

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
  • 33
  • 23
  • 19

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
  • 99
  • 33
  • 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