Latest Articles
View All
June 29th 2025
Introducing the Request-derived Context Pattern
This article introduces the Request-derived Context pattern, a formalisation of a common but often unnamed process in web applications: extracting and resolving contextual information from incoming HTTP requests.
June 10th 2025
Managing the Memory Usage of the Laravel Eloquent Identity Map
In my previous article, I introduced a minimal identity map for Laravel Eloquent. In this follow-up, I'll show you how to better manage the memory usage of the identity map, and prevent memory leaking issues for particularly heavy processes, including Laravel Octane.
May 21st 2025
A Minimal Identity Map for Laravel Eloquent
Eloquent is a powerful ORM, though it's not without its quirks. One of those quirks is the way it handles model instances, and if you're not careful, you can end up with multiple instances of the same model in memory. This can lead to unexpected behavior and bugs that are hard to track down. In this article, I'll show you how to implement a minimal identity map for Eloquent that will help you avoid these issues.
May 5th 2025
Website revamp, new content and upcoming projects
I've revamped the website with a new design, and a much simpler approach, bringing back my blog which has been missing for too long!
Latest Projects
View All
Sprout For Laravel v1.1
Multitenancy for your Laravel application
Sprout is an easy to use multitenancy solution that integrates seamlessly with your Laravel application, while remaining flexible.
Composer Local Repositories v1.0
Composer plugin to add support for local repositories.json files
This is a composer plugin that adds support for using local versions of repositories, without having to
modify the core composer.json
file.