Articles: Laravel
Technical writings, opinionated architectures, and development guides focusing on Laravel.
Building Bulletproof Laravel APIs using Schema-First Contract Validation
Stop letting undocumented fields into your Laravel API. Write the JSON Schema first, then enforce it in middleware, DTOs, and your Pest test suite.
Strangling Procedural Legacy PHP into Laravel
Replace a procedural PHP monolith with Laravel one route at a time. Nginx ingress, session bridging that actually works, and Eloquent on a legacy schema.
Server-Side Rate Limiting in Laravel with Fingerprint.dev
Learn how to build device-based rate limiting in Laravel with Fingerprint.dev, Redis caching, and custom middleware to avoid the limits of IP-based throttling.
The Art Of Keeping Business Logic Honest
Use state machines and workflow engines in Laravel to keep business rules explicit, auditable, and resilient across async processes.
When CRUD Isn't Enough: How Real APIs Outgrow Their Design
Most Laravel APIs start as clean CRUD systems. This article walks through why that breaks down, and how an action-based design fixes the mess.
Building Modern Laravel APIs: Lead Scoring and Prioritisation
Building a configurable lead scoring engine in Laravel 13 - config-driven weights, query objects for prioritised retrieval, rescoring commands, and a top leads endpoint.
Building Modern Laravel APIs: The Action Pattern
Building a lead enrichment and scoring pipeline in Laravel 13 using the AI SDK, structured agents, composable Action classes, and PHP enums for type-safe status management.
Building Modern Laravel APIs: Authentication with JWT
Add JWT auth to a Laravel API with register, login, refresh, and logout flows using Form Request DTOs, Action classes, and auth:api middleware.
Building Modern Laravel APIs: Foundations and Project Structure
Start the Modern Laravel APIs series by structuring Pulse-Link for production with clear layers, ULIDs, action classes, DTO requests, and versioning.
Building Modern Laravel APIs: Ingesting Leads
Implement lead ingestion in Laravel with Form Request validation, typed DTO payloads, Action classes, and JSON:API responses for POST /v1/leads.
Building Modern Laravel APIs: Routing, Versioning, and API Contracts
Learn how to version Laravel API routes, signal deprecations with Sunset headers, and keep API contracts aligned with your implementation.
Implementing the Saga Pattern in a Laravel Monolith
Learn how to implement the Saga pattern in Laravel to coordinate external APIs, recover from failures, and keep data consistent.