Technical Insights.

Documenting my journey through 9+ years of Laravel development, architectural patterns, and lessons learned in the field.

Technical

Laravel in Production: Avoiding Race Conditions

A race condition is one of those bugs that can remain invisible during development and suddenly become a serious problem in production. Your code may work perfectly when one user performs an action. Then hundreds of users do the same...

Read Article 0 min read
Technical

Laravel In Production: Preventing Double Payments

When building payment systems, one of the most critical requirements isn't just processing payments; it's ensuring that the same payment is never processed twice. Duplicate payments can occur more often than you might think: A user clicks the Pay button...

Read Article 0 min read
Technical

Install Apache, PHP, and MySQL on Fedora 43

If you’re setting up a local development or testing environment on Fedora, the classic Apache + PHP + MySQL stack is still a rock-solid choice. In this guide, we’ll walk through installing and configuring Apache (HttpD), PHP via the Remi...

Read Article 0 min read
Technical

Using PHP's NumberFormatter for Localization and Formatting

PHP provides powerful tools for formatting and handling numbers, especially when it comes to localization, currency formatting, and handling different number systems. One such tool is the NumberFormatter class, which is part of the intl (Internationalization) extension. This class offers...

Read Article 0 min read
Technical

Laravel Passport vs. Sanctum: A Comprehensive Comparison

A Deep Dive into Laravel Passport and Laravel Sanctum: A Comprehensive Comparison Laravel, a robust PHP framework, offers a myriad of tools for building modern web applications. Among these tools, Laravel Passport and Laravel Sanctum stand out as leading solutions...

Read Article 0 min read
Technical

Laravel Pennant: A Guide to Feature Flags

Exploring Laravel 11.x Pennant: A Comprehensive Guide to Feature Flags In the rapidly evolving landscape of web development, feature flags have become an essential tool for managing application features dynamically. With the release of Laravel 11.x, the Pennant package offers...

Read Article 0 min read
Technical

Validating Password Strength

Custom Validation Rules in Laravel: Validating Password Strength In today's digital landscape, strong password policies are more important than ever. With increasing concerns about data breaches and unauthorized access, ensuring that users create strong, secure passwords is a critical aspect...

Read Article 0 min read
Technical

Visual Studio Code Set Up for Laravel Development

Visual Studio Code Setup For PHP Laravel Introduction Visual Studio Code, or VS Code, is a code editor tool used by many programmers worldwide. It is super easy to customize as per your tastes and preferences. It has support for...

Read Article 0 min read