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

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
  • 106
  • 107
  • 9

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
  • 140
  • 27
  • 20

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
  • 64
  • 15
  • 22

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
  • 150
  • 15
  • 7

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
  • 126
  • 119
  • 16

How Passwords Should Be Stored (and How Breaches Really Happen)

How Passwords Should Be Stored (and How Breaches Really Happen)

Blog Summary

Assume your users table leaks tomorrow. What did the attacker actually get? From plain text to Argon2id, plus the login defences that matter even when your hashing is perfect.

Read more
  • 22
  • 69
  • 21

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