Writing
API Design
Technical writings, opinionated architectures, and development guides focusing on API Design.
- 51Articles
- 534 minOf reading
- 38Topics
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.
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.
Building production ready APIs with kit
A practical guide to shaping production-ready APIs using kit, from contracts and validation to observability and rollout.
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.
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+.
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.