DEV Community

Laravel Architecture Pattern Series' Articles

Back to Shakil Alam's Series
Why Most Laravel Projects Fall Apart (And How to Fix It)
Cover image for Why Most Laravel Projects Fall Apart (And How to Fix It)

Why Most Laravel Projects Fall Apart (And How to Fix It)

Comments
5 min read
Laravel Folder Structure: How to Organize the app/ Directory (2026)
Cover image for Laravel Folder Structure: How to Organize the app/ Directory (2026)

Laravel Folder Structure: How to Organize the app/ Directory (2026)

Comments
6 min read
Laravel Config: The env() Rule That Prevents Production Bugs
Cover image for Laravel Config: The env() Rule That Prevents Production Bugs

Laravel Config: The env() Rule That Prevents Production Bugs

Comments
6 min read
Laravel AppServiceProvider: register() vs boot() — What Goes Where
Cover image for Laravel AppServiceProvider: register() vs boot() — What Goes Where

Laravel AppServiceProvider: register() vs boot() — What Goes Where

Comments
6 min read
Laravel Multi-Guard Auth: Separate Admin & User Logins
Cover image for Laravel Multi-Guard Auth: Separate Admin & User Logins

Laravel Multi-Guard Auth: Separate Admin & User Logins

Comments
6 min read
Laravel Thin Controllers: The Only 4 Things They Should Do
Cover image for Laravel Thin Controllers: The Only 4 Things They Should Do

Laravel Thin Controllers: The Only 4 Things They Should Do

Comments
5 min read
Laravel Form Requests and Custom Validation Rules
Cover image for Laravel Form Requests and Custom Validation Rules

Laravel Form Requests and Custom Validation Rules

Comments
6 min read
Laravel Route Organization: Split Routes by Role, Not Method
Cover image for Laravel Route Organization: Split Routes by Role, Not Method

Laravel Route Organization: Split Routes by Role, Not Method

Comments
5 min read
Laravel Service Classes: A Stateless Service Layer That Works
Cover image for Laravel Service Classes: A Stateless Service Layer That Works

Laravel Service Classes: A Stateless Service Layer That Works

Comments
6 min read
Laravel Action Classes: Single-Purpose Executors Done Right
Cover image for Laravel Action Classes: Single-Purpose Executors Done Right

Laravel Action Classes: Single-Purpose Executors Done Right

Comments
5 min read
Laravel DTOs: Replace Magic Arrays with Typed Data Objects
Cover image for Laravel DTOs: Replace Magic Arrays with Typed Data Objects

Laravel DTOs: Replace Magic Arrays with Typed Data Objects

Comments
6 min read
Laravel Eloquent Traits: Reusable Model Behavior (Guide)
Cover image for Laravel Eloquent Traits: Reusable Model Behavior (Guide)

Laravel Eloquent Traits: Reusable Model Behavior (Guide)

Comments
6 min read
Laravel Observers vs Events: When to Use Each (Examples)
Cover image for Laravel Observers vs Events: When to Use Each (Examples)

Laravel Observers vs Events: When to Use Each (Examples)

Comments
5 min read
Laravel Audit Trail: Auto-Log Every Model Change (One Trait)
Cover image for Laravel Audit Trail: Auto-Log Every Model Change (One Trait)

Laravel Audit Trail: Auto-Log Every Model Change (One Trait)

Comments
5 min read
Laravel app/Support: Build Your App’s Internal Library
Cover image for Laravel app/Support: Build Your App’s Internal Library

Laravel app/Support: Build Your App’s Internal Library

Comments
6 min read
Laravel Jobs & Queues: Retry, Backoff, Failed Jobs & Idempotency
Cover image for Laravel Jobs & Queues: Retry, Backoff, Failed Jobs & Idempotency

Laravel Jobs & Queues: Retry, Backoff, Failed Jobs & Idempotency

Comments
9 min read
Laravel Artisan Commands: Observable, Scheduled Tasks (Guide)
Cover image for Laravel Artisan Commands: Observable, Scheduled Tasks (Guide)

Laravel Artisan Commands: Observable, Scheduled Tasks (Guide)

Comments
5 min read
Laravel Caching: Typed Cache Keys That Don’t Collide
Cover image for Laravel Caching: Typed Cache Keys That Don’t Collide

Laravel Caching: Typed Cache Keys That Don’t Collide

Comments
5 min read
Laravel Queue Monitoring: The HeartBeat Job Pattern
Cover image for Laravel Queue Monitoring: The HeartBeat Job Pattern

Laravel Queue Monitoring: The HeartBeat Job Pattern

1
Comments 2
4 min read
Laravel Structured Logging: Named Channels & Request Tracing
Cover image for Laravel Structured Logging: Named Channels & Request Tracing

Laravel Structured Logging: Named Channels & Request Tracing

Comments 2
6 min read
Laravel Events & Listeners: Domain Events in Practice
Cover image for Laravel Events & Listeners: Domain Events in Practice

Laravel Events & Listeners: Domain Events in Practice

Comments
5 min read
Laravel Health Checks: Build a Status Page (Pluggable)
Cover image for Laravel Health Checks: Build a Status Page (Pluggable)

Laravel Health Checks: Build a Status Page (Pluggable)

Comments
5 min read
Laravel Excel Exports: The BaseExport Pattern (Reusable)
Cover image for Laravel Excel Exports: The BaseExport Pattern (Reusable)

Laravel Excel Exports: The BaseExport Pattern (Reusable)

Comments
5 min read
Laravel Notifications vs Mailables: Which to Use (+ Audit)
Cover image for Laravel Notifications vs Mailables: Which to Use (+ Audit)

Laravel Notifications vs Mailables: Which to Use (+ Audit)

Comments
5 min read
Laravel CI/CD with GitHub Actions: Test & Deploy (Guide)
Cover image for Laravel CI/CD with GitHub Actions: Test & Deploy (Guide)

Laravel CI/CD with GitHub Actions: Test & Deploy (Guide)

Comments
5 min read
Larastan, Rector and Pint: Laravel Code Quality Setup (Configs + CI)
Cover image for Larastan, Rector and Pint: Laravel Code Quality Setup (Configs + CI)

Larastan, Rector and Pint: Laravel Code Quality Setup (Configs + CI)

Comments
8 min read
AI-Assisted Laravel Development: CLAUDE.md + Laravel Boost
Cover image for AI-Assisted Laravel Development: CLAUDE.md + Laravel Boost

AI-Assisted Laravel Development: CLAUDE.md + Laravel Boost

Comments
7 min read
Laravel Request Logger Middleware: Full HTTP Observability
Cover image for Laravel Request Logger Middleware: Full HTTP Observability

Laravel Request Logger Middleware: Full HTTP Observability

Comments
5 min read
Laravel Exception Emails Without the Spam (Rate-Limited)
Cover image for Laravel Exception Emails Without the Spam (Rate-Limited)

Laravel Exception Emails Without the Spam (Rate-Limited)

Comments
5 min read
Laravel Slow Query Detection: Catch Them Before Users Do
Cover image for Laravel Slow Query Detection: Catch Them Before Users Do

Laravel Slow Query Detection: Catch Them Before Users Do

Comments
4 min read