Topic: Laravel

A collection of thoughts and technical deep-dives regarding Laravel.

Laravel

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
Laravel

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
Laravel

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
Laravel

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
Laravel

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
Laravel

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
Laravel

Laravel on Sub-Domain of shared server

Laravel on Sub-domain Let us learn how to host a laravel project on a sub-domain of shared hosting. Assumptions / Pre-requisites I presume that you have the following things ready with you. Shared hosting server Sub-domain on that shared hosting...

Read Article 0 min read
Laravel

Deploy Laravel app on shared server using Envoy

Introduction On the shared hosting servers, it becomes a chore SSHing every time and executing the commands like cd to a domain, git pull to sync all the files and folders, npm build to build the production-ready app, etc. Then...

Read Article 0 min read