RSSAmplifier

Blog

Mahdi Hazaveh

Founder of Empinet, Post‑Rock Nation, and Linkinize. I build systems, curate experiences, and write about technology and culture.

hazaveh.netRSS feed ↗10 posts

Latest posts

How to Log Outgoing Emails in Laravel (Full Guide + Open Source Package)

Sooner or later once your Laravel app gets serious and starts having real customers, you’ll probably want to log outgoing emails in Laravel. Whether it’s for quality checks, debugging, or compliance, having a proper Laravel email logging setup becomes important. I’ve run into this multiple times myself, and I’ve also seen clients trying different workarounds Continue reading How to Log Outgoing…

Laravel Email Validation: Stop Spam, Disposable Emails, and Bot Signups

Most Laravel applications treat email validation as a solved problem. You add the built-in email rule, maybe require confirmation, and move on. On paper that looks reasonable, but in real applications it breaks down faster than most people expect. If your app has a public signup form, you will eventually deal with fake registrations, disposable Continue reading Laravel Email Validation: Stop Spam,…

Secure Laravel Horizon with Basic Authentication

Today I had to lock down Laravel Horizon on one of my client APIs. No frontend, no users table, no auth system at all. Just Horizon running in production and, as usual, publicly accessible. Crap! The goal was simple: protect the Horizon dashboard with minimal setup. No database, no middleware, no extra complexity. Just basic Continue reading Secure Laravel Horizon with Basic Authentication The…

Problem with LinkedIn

TLDR; LinkedIn has an authenticity problem, and with AI today, I think it has become much worse and cringey! LinkedIn is just another social media platform, designed to drive engagement and profit, while trying hard to present itself as a place for professional careers and networking. But the difference between LinkedIn and other social media, Continue reading Problem with LinkedIn The post…

I never looked forward for an iOS upgrade

Apple had its event and yet again the entire social media and the internet is filled with people either smashing the new iOS, or proudly worshipping the company s latest operation system. it was right then when this thought strike me, that ever since I ve owned an iPhone, I never looked forward for an iOS upgrade. Continue reading I never looked forward for an iOS upgrade The post I never looked…

Moving away from Minio

tldr: minio has removed the administration features from the console in their community open-source edition, and that sucks! discovering Minio for me was super exciting, a free and open-source s3 API compatible object storage, written in GO and super fast? what else could I want for my side projects! Just being able to slap the Continue reading Moving away from Minio The post Moving away from…

Twitter API OAuth 403 Forbidden Fix

I was recently integrating Login with X (Twitter OAuth 2.0) for a project, and everything seemed smooth — got the access token without issues. But when I tried calling https://api.twitter.com/2/users/me, I hit a 403 Forbidden response. No clear errors. No useful clues. After tons of debugging, the fix was surprising: Twitter (X) requires the tweet.read Continue reading Twitter API OAuth 403…

How to exclude a domain from HostRegexp in Traefik

If you re brave like me and have hosted an app with wildcard subdomains on your traefik server, you might find yourself in the situation where you want to exclude a subdomain from being routed by traefik router to the app container. Let s say you have a router like this: Thats goanna have all the subdomains Continue reading How to exclude a domain from HostRegexp in Traefik The post How to exclude…

Docker Container Can’t Connect to Another on Same Network? Check This Portainer Quirk

Today I hit one of those sneaky Docker networking issues that nearly drove me up the wall. Maybe this’ll save someone else from the same hours of head-scratching. I have an php application container that had been running fine, until it suddenly couldn’t connect to one of its internal services anymore. In my case, the Continue reading Docker Container Can’t Connect to Another on Same Network? Check…

The Pulse of Post-Rock: Inside the World’s Largest Archive of Genre Releases

In a world overflowing with playlists and streaming noise, true discovery often feels like a lost art. That’s what makes Post-Rock Nation more than just another digital stop on the music map. It’s a curated haven—born out of a deep love for atmosphere, crescendo, and sound that breathes without words. Since its founding, Post-Rock Nation Continue reading The Pulse of Post-Rock: Inside the World’s…