Content
Better Laravel Jobs: Don’t just retry, backoff.
Ever had a Laravel job fail because an external API was down or hit a rate limit?
By default, Laravel is "one and done." If a job fails, it goes straight to the failed_jobs table. We can fix
1 month ago 2 min read
SLI vs SLO vs SLA
I often mix up these terms SLI, SLO, and SLA, so here’s a simple way to understand them.
1️⃣ SLI – Service Level Indicator
What we measure: An SLI is
1 month ago 2 min read
12 API Design Mistakes to Avoid in Production
After reviewing hundreds of APIs, here are the 12 most common design flaws I see (and how to fix them):
1. Using verbs instead of resource names. Your endpoints should repre
1 month ago 2 min read
🔐 Authentication ≠ Authorization
Just because a user is authenticated doesn't mean they should access everything in your API.
The Common Mistake that many developers make is doing this :
public function show(int $id)
1 month ago 1 min read
PHP Attributes: A Simple Guide
PHP Attributes, introduced in PHP 8.0, are a game-changer for writing cleaner, more expressive code. Let me break down what they are, why they matter, and how frameworks like Laravel use them.
1 month ago 2 min read
Facades in Laravel
TL;DR (Quick Summary)
Laravel Facades let you call non-static methods as if they were static. Behind the scenes, Facades act as a proxy to services stored
2 months ago 3 min read