Writing
Everything I have written down
Articles, reference guides and multi-part series on API design, architecture, PHP and the work around them. All of it free, none of it behind an email form.
Subjects
Five subjects. Each one a hub with a place to start.
How APIs outgrow the design they shipped with, and what to fix first.
Architecture45 articlesRecognising the pattern you already live inside, and pricing the exit.
PHP & Laravel52 articlesThe language got good. Most code has not caught up with it.
Shipping & Tooling35 articlesDeploys, local environments, CLIs, and where agents actually help.
Engineering Leadership31 articlesThe job changes from writing code to deciding what gets written.
Series
Longer arguments, read in order.
Master the tools, habits, and operating models needed to ship high-quality software in a day-to-day workflow shaped by LLMs, moving past outdated sprints and velocity metrics.
Series10 parts · 107 minEngineering ManagementScale your engineering organization and build a high-performing team culture. Learn modern leadership frameworks for managing remote engineers, technical debt, and team coaching.
Series10 parts · 71 minFrom Requirements to RealityTransition from writing simple code to designing complete architectures. Learn how to shape features, design database entity-relationship diagrams (ERDs), and plan before you build.
Series7 parts · 50 minWhy Is This Hard To Change?A diagnostic series for Laravel codebases that are clean, modern, well tested, and still expensive to work in. Each part starts from a symptom a team actually reports, works back to the structural cause, and prices the fix honestly, including the times the answer is to leave it alone.
Series6 parts · 50 minBuilding Modern Laravel APIsBuild and deploy production-ready Laravel 13 APIs using PHP 8.5. Design an opinionated, robust architecture that scales under real production load through a step-by-step complete application build.
Series10 parts · 128 minThe Second PatternNine architecture patterns that rarely get named in PHP, and one article on the ones that are not worth it. Each starts with the obvious move, finds the exact point it breaks, then reaches for the pattern that fits. Built in Tempest, aimed at anyone writing PHP REST APIs.
Reference
Patterns to look up, not read through.
Longer reference
The engineering career framework
Six levels from early career to company-wide technical leadership, with the expectations and growth signals for each, for individual contributors and for managers. Free to copy into your own company.
Topics
Or browse by topic.
- Agents 15
- AI 22
- API integration 15
- Authentication 7
- Career 9
- CLI 9
- Code organization 20
- Code quality 7
- Data objects 10
- Databases 11
- Deployment 11
- Design patterns 23
- Developer experience 6
- DevOps 14
- Distributed systems 7
- Docker 8
- Domain-driven design 14
- Eloquent 13
- Event-driven 8
- Feature flags 4
- Frameworks 6
- Frontend 9
- Go 9
- HTTP 14
- Laravel 118
- Linux 6
- MCP 6
- Multi-tenancy 4
- Object-oriented design 9
- Obsidian 6
- Open source 10
- OpenAPI 5
- Performance 6
- PHP 70
- Planning 14
- PSRs 7
- Queues 10
- Refactoring 10
- Remote work 6
- Requirements 4
- Resilience 5
- REST APIs 27
- Security 10
- Sevalla 17
- Specs 4
- Static sites 5
- Team culture 11
- Tempest 14
- Testing 16
- Webhooks 7
- Workflows 10
Archive
Everything, newest first.
To Boldly GET: I Built a Starship Out of Status Codes
Watching Star Trek a week and a half before a new job, I realised I could remember HTTP status codes as Star Trek puns. It started as a museum, and twenty minutes later it was a starship.
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.
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.
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.
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.
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.
An Audit Log You Cannot Quietly Edit
A hash chain makes editing your audit log expensive, and only becomes evidence once a hash lives somewhere the editor can't reach. Built in Laravel, traps included.
An Example App That Needs Its Features
Flagpole is a feature flag service built on kit, where every HTTP standard is there because the domain needs it. Building it found four bugs that kit's own tests never caught.
A Laravel API Starter Kit That Keeps Its Promises
Starter kits are right on the day you install them and drift from then on. Kit now checks its own promises in CI, so the docs, spec, errors and dependencies stay true.
Most of Your API Has Already Been Designed
Error formats, retries, lost updates, webhook signing: the IETF has already answered them. api-toolbox brings those answers to Laravel, one RFC per feature.
How to Write Specs, RFCs and ADRs
Spec driven development in practice: what an RFC, an ADR and a spec are each for, the templates I use, and one feature taken through all three from a blank page.
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.