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

Server Monitoring Basics: What to Watch Before Your Users Complain

Server Monitoring Basics: What to Watch Before Your Users Complain

Blog Summary

If your customers are your monitoring system, you hear about outages late and angry. Here's what to actually watch: disk trends, p95 response times, error rates, queue depth, scheduler heartbeats and uptime checks.

Read more
  • 110
  • 148
  • 6

Laravel Collections: Ten Methods That Replace Your foreach Loops

Laravel Collections: Ten Methods That Replace Your foreach Loops

Blog Summary

Most loops in application code do one of ten jobs, and Laravel collections have a named method for each. Here are map, filter, keyBy, partition, pipe and five more, with the gotchas and the cases where a loop still wins.

Read more
  • 67
  • 21
  • 7

Linux Permissions for Web Developers: Why chmod 777 Is Never the Fix

Linux Permissions for Web Developers: Why chmod 777 Is Never the Fix

Blog Summary

"Permission denied" after a deploy, and someone suggests chmod -R 777. Here's how rwx, owners and groups really work, why 777 is dangerous, and a sane permission setup for Laravel's storage folder.

Read more
  • 61
  • 49
  • 23

What Building a Contract Management Module Taught Me About Data Integrity

23 Nov 2025Category : Blog
What Building a Contract Management Module Taught Me About Data Integrity

Blog Summary

A tenancy contract looks like a five-minute table. With 2,000+ contracts in Kate PMS, it's really validation, a state machine, locks against overlapping dates, frozen signed terms and an audit trail.

Read more
  • 68
  • 82
  • 23

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
  • 75
  • 102
  • 14

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
  • 94
  • 128
  • 8

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