Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

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

Timezones: The Bug That Waits Patiently for Daylight Saving Time

Timezones: The Bug That Waits Patiently for Daylight Saving Time

Blog Summary

Timezone bugs pass review, pass tests and wait months for the clocks to change. Seven common mistakes, from storing local time to treating dates as timestamps, and the Carbon code that fixes each one.

Read more
  • 131
  • 61
  • 21

PHP Enums in Laravel: Replacing Magic Strings for Good

PHP Enums in Laravel: Replacing Magic Strings for Good

Blog Summary

A status check comparing against 'actve' can sit in your code for months and never be true. Backed enums, Eloquent casts, Rule::enum and methods on enums turn those magic strings into something PHP checks for you.

Read more
  • 36
  • 117
  • 8

9 Performance Quick Wins for PHP Sites That Take Minutes, Not Rewrites

9 Performance Quick Wins for PHP Sites That Take Minutes, Not Rewrites

Blog Summary

Most slow PHP sites aren't slow because of PHP. OPcache, framework caching, indexes, queues, images and cache headers: nine boring fixes that make a site feel fast, and the gotcha in each.

Read more
  • 61
  • 133
  • 18

Laravel Middleware Explained With Real Use Cases

Laravel Middleware Explained With Real Use Cases

Blog Summary

Every request walks through a series of doors before it reaches your controller. Here's how Laravel middleware works: before and after, groups, parameters, terminable middleware, and real examples you can use.

Read more
  • 89
  • 83
  • 9

If Programming Languages Were People at a Party

If Programming Languages Were People at a Party

Blog Summary

PHP is feeding everyone in the kitchen, JavaScript is in every room at once and SQL is in the corner, older than the house. A light look at the guests, and how I actually pick a language.

Read more
  • 97
  • 71
  • 11

Processes vs Threads vs Async: How Servers Handle Many Users at Once

Processes vs Threads vs Async: How Servers Handle Many Users at Once

Blog Summary

Why can one slow API call take down a PHP site, while one heavy loop freezes a Node app? Processes, threads and the event loop explained with a restaurant kitchen, plus the failure mode each one has.

Read more
  • 108
  • 20
  • 22

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