Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

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

Logging That Helps at 3 AM: Structured Logs in Laravel

Logging That Helps at 3 AM: Structured Logs in Laravel

Blog Summary

"Something went wrong" is not a log line, it's a cry for help. How to write Laravel logs you can actually search: context arrays, request IDs, the Context facade, sensible levels, JSON channels, and what never to log.

Read more
  • 85
  • 123
  • 16

Environment Variables and Secrets: Keeping API Keys Out of Your Code (and Git History)

Environment Variables and Secrets: Keeping API Keys Out of Your Code (and Git History)

Blog Summary

Deleting a leaked key from your code doesn't un-leak it. How .env files really work, why Laravel's config cache changes the rules, when to reach for a secret manager, and what to do in the first hour after a leak.

Read more
  • 66
  • 40
  • 19

CI/CD Explained With a Simple Laravel Pipeline on GitHub Actions

CI/CD Explained With a Simple Laravel Pipeline on GitHub Actions

Blog Summary

If your deployment depends on someone remembering the steps, it will fail the day they're on holiday. Build a simple CI/CD pipeline for Laravel 12: branch protection, Pint, PHPStan, tests and a scripted deploy.

Read more
  • 116
  • 123
  • 25

Seven AWS Mistakes Small Teams Make (and the Afternoon Fix for Each)

Seven AWS Mistakes Small Teams Make (and the Afternoon Fix for Each)

Blog Summary

Small teams don't get hacked or surprised by the bill through exotic attacks. It's root logins, public buckets, open SSH ports and backups nobody has restored. Seven common AWS mistakes and a quick fix for each.

Read more
  • 61
  • 85
  • 12

Zero-Downtime Database Migrations: The Expand and Contract Pattern

Zero-Downtime Database Migrations: The Expand and Contract Pattern

Blog Summary

Renaming a column is one line of code and, deployed naively, a short outage. The expand and contract pattern lets you change your schema while old and new code run side by side, with Laravel examples.

Read more
  • 37
  • 14
  • 5

Docker for PHP Developers: Images, Containers and Volumes Finally Explained

Docker for PHP Developers: Images, Containers and Volumes Finally Explained

Blog Summary

If you know PHP, you already understand Docker: an image is a class, a container is an object. Here's the mental model, a working Dockerfile and Compose file for Laravel with MySQL, and the mistakes everyone makes first.

Read more
  • 44
  • 123
  • 20

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