Skip to main content
WritingVideosSpeakingCodeAbout

Writing

API Design

Technical writings, opinionated architectures, and development guides focusing on API Design.

  • 51Articles
  • 534 minOf reading
  • 38Topics
May 20265 min read

The Reason I Love Tempest for APIs

Tempest makes API development feel lightweight by combining typed request objects, attribute-based validation, discovery-driven routing, and built-in mapping with minimal ceremony.

May 202610 min read

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.

Apr 202610 min read

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.

Apr 20269 min read

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.

Apr 20268 min read

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.

Apr 202610 min read

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.

Apr 20267 min read

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.

Apr 20266 min read

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.

Feb 202631 min read

Building production ready APIs with kit

A practical guide to shaping production-ready APIs using kit, from contracts and validation to observability and rollout.

Feb 20265 min read

Building a Go microservice using gRPC for image metadata extraction

Learn how to build a production-grade Go microservice that extracts EXIF and image metadata using gRPC, complete with S3/R2 integration.

Feb 20267 min read

Relay: Building a Fiber-Native HTTP Layer for Modern PHP

Explore the design and implementation of Relay, a new HTTP transport layer for PHP 8.5+.

Jan 202612 min read

Streaming responses in Laravel without WebSockets

Learn how to implement server-sent events (SSE) in Laravel for streaming AI responses, avoiding the complexity of WebSockets.