Skip to main content
WritingVideosSpeakingCodeAbout

Tag

PHP

Every article on PHP, newest first.

  • 71Articles
  • 701 minOf reading
  • 6Subjects
Nov 202615 min read
API Design

Rebuilding Resend's PHP SDK

I rebuilt part of Resend's official PHP SDK on sdk-toolbox and ran both against the same failures. The rebuild handles what goes wrong better. The official one is still better to use.

Nov 20268 min read
Shipping & Tooling

Setting Up A Laptop That Isn't Mine

A new role came with a MacBook that belongs to someone else, so I started my dotfiles again, gave the work its own Obsidian vault, and let mise choose between Homebrew's PHP builds.

Oct 20267 min read
API Design

You Can't Deprecate a Field With a Header

RFC 9745's Deprecation header covers whole resources, so a field changing shape has no HTTP signal. Where that deprecation goes instead, and where the header is exactly right.

Oct 20268 min read
API Design

Both Ends of the Wire

I built a small CRM API on api-toolbox and its SDK on sdk-toolbox, in one repository, tested against each other. My own two libraries disagreed within a day.

Oct 20267 min read
API Design

Fixing a Bug Can Be a Breaking Change

Your consumers built against your behaviour, not your documentation. Correcting a bug they worked around is an outage you shipped on purpose.

Oct 202619 min read
API Design

Most of Your SDK Has Already Been Designed, Too

Retries, rate limits, pagination, lost updates: the API already tells your client what to do. sdk-toolbox makes a PHP SDK listen, one RFC at a time.

Oct 202612 min read
Architecture

What Actually Constrains a Coding Agent

I had fifteen agents build the same Laravel and Slim API. Written decisions mattered most, the framework second, PSRs barely at all, and Laravel already ships the first.

Oct 202612 min read
PHP & Laravel

Sending And Receiving Webhooks In Laravel

A webhook is a contract between two codebases that never meet. Both ends of it in plain Laravel: what to sign, how long to retry, and how the receiver avoids doing the work twice.

Oct 202631 min read
PHP & Laravel

Building a home-education platform with Laravel 13, Inertia and React, and shipping it to Laravel Cloud

A Laravel 13, Inertia and React platform for home educating my son: an append-only learning record, a planner, AI kept on a short lead, and what Laravel Cloud asked of the code.

Sept 202610 min read
PHP & Laravel

The UK is mandating e-invoicing in 2029, and your invoicing code is not ready

From 2029 every UK VAT invoice has to be structured data that passes about eleven hundred rules. What that means for the invoices table you already have, and the four fields that break first.

Sept 20268 min read
Notes

Digital sovereignty is written in PHP, and the UK just made it fundable

The PHP Foundation made the case for funding upstream maintenance through procurement. Their proposals are written against EU rules. The UK deleted the clause that was blocking them.

Sept 202612 min read
Architecture

The Second Pattern: The Ones I Left Out

Five patterns I know well, that come up constantly, and would not reach for in PHP. Not because they are bad ideas, but because of what the runtime does and does not give you.