Latest Articles
View All
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!
May 5th 2025
Avoiding Eager Loading When Registering Laravel Drivers
When registering drivers or other types of extensions for Laravel core classes, it's really easy to accidentally eager to load the service and its entire dependency tree! Fortunately, it's almost as easy to avoid it.
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.