Articles
Notes, lessons, and practical things I learn about software development.
2026

Same Record, Different Instance: A Subtle Eloquent Bug
A subtle Eloquent bug where the same database record is represented by different model instances with different in-memory state.
Read article
Things I Learned Using Meilisearch with Laravel Scout
Practical lessons from using Meilisearch with Laravel Scout, from filtering Eloquent queries to keeping related model data in sync.
Read article
Turning Database Refreshes Into One Boring Command
How a repetitive and unreliable database refresh workflow led me to build dbpull, a simple CLI for syncing remote databases to local with one command.
Read article
Be Careful with array_merge() and Numeric Keys in PHP
array_merge() reindexes numeric keys, which can silently break associative arrays that use IDs as keys.
Read article