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

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
  • 38
  • 82
  • 7

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
  • 40
  • 144
  • 22

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
  • 49
  • 143
  • 13

Docker Mistakes That Make Your Images Huge and Your Builds Slow

Docker Mistakes That Make Your Images Huge and Your Builds Slow

Blog Summary

You change one line and Docker reinstalls everything. Missing .dockerignore, bad layer order, dev tools in production, root users and latest tags are the usual culprits. Here's the fix, with a multi-stage build.

Read more
  • 11
  • 115
  • 14

Laravel Sanctum vs Passport: Which Auth Package Do You Actually Need?

Laravel Sanctum vs Passport: Which Auth Package Do You Actually Need?

Blog Summary

Sanctum and Passport both issue tokens, so people pick one at random. One question decides it: will apps you don't own access your users' data? Cookie SPAs, mobile tokens and OAuth, explained with code.

Read more
  • 73
  • 32
  • 4

Soft Deletes, Archives and Audit Logs: Keeping History the Right Way

Soft Deletes, Archives and Audit Logs: Keeping History the Right Way

Blog Summary

Undo a delete, get finished records out of the way, answer who changed what, and forget a user on request: four different jobs. When to use soft deletes, archives, audit logs and hard deletes in Laravel, including the unique index trap.

Read more
  • 14
  • 13
  • 18

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