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

Six Mistakes With Laravel Eloquent Events and Observers (and the Fixes)

Six Mistakes With Laravel Eloquent Events and Observers (and the Fixes)

Blog Summary

Observers feel like magic until an import sends hundreds of emails and a bulk update skips your audit log. Six common Eloquent event mistakes, why each one happens, and the fix in Laravel 12.

Read more
  • 140
  • 89
  • 11

Concurrency vs Parallelism, Explained With a Kitchen

Concurrency vs Parallelism, Explained With a Kitchen

Blog Summary

One cook can serve dinner for six by never standing still while the water boils. That's concurrency. A kitchen in four scenes, with Node and Laravel examples, and how to tell which one your slow code needs.

Read more
  • 130
  • 71
  • 22

Laravel Queues in Depth: Chains, Batches and Unique Jobs

Laravel Queues in Depth: Chains, Batches and Unique Jobs

Blog Summary

One job is easy. Real work is steps in order, hundreds of jobs with one finish line, and users who click twice. Here's how chains, batches, unique jobs and rate limits fit together, gotchas included.

Read more
  • 137
  • 138
  • 25

Eloquent Relationships You Might Be Underusing (and the Queries They Replace)

Eloquent Relationships You Might Be Underusing (and the Queries They Replace)

Blog Summary

Most Laravel apps use hasMany and belongsTo, then hand-write everything else. hasManyThrough, latestOfMany, withSum, whereRelation and morphs can replace pluck-and-loop code with cleaner, faster queries.

Read more
  • 62
  • 89
  • 7

Laravel Deployment Mistakes That Break Production, and How to Avoid Them

Laravel Deployment Mistakes That Break Production, and How to Avoid Them

Blog Summary

The code was fine. The deploy wasn't. From queue workers running yesterday's code to log files owned by root, here are the Laravel deployment mistakes that bite most often, why they happen, and a script that avoids them.

Read more
  • 113
  • 150
  • 13

Stop Running Tinker in Production: Artisan Commands for Everyday Admin Tasks

Stop Running Tinker in Production: Artisan Commands for Everyday Admin Tasks

Blog Summary

Typing queries into Tinker on a live server is how admin chores turn into incidents. Here's how to build a proper Artisan command with a dry run, confirmations, a progress bar, scheduling and a test.

Read more
  • 60
  • 53
  • 24

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