Monthly Archives: July 2024

Preventing Transaction-Related Issues in Laravel

Today, I spent a good amount of hours troubleshooting an issue involving database transactions. Thankfully, with the assistance of a teammate, the problem is now resolved. Consider the following example code: In this scenario, we initiate a database transaction in … Continue reading

Posted in Uncategorized | Leave a comment

How I test Laravel Middlewares in isolation

Not so long ago, a colleague of mine showed me a method to test middlewares that totally changed how I test them now. For a long time, I tested middlewares by creating a fake Laravel request, instantiating the middleware, and … Continue reading

Posted in Tutorial | Leave a comment

Welcome to vbergeron.dev!

Welcome to my personal website. Creating a personal website has been on my mind for ages, but I always procrastinated. On this website, you can expect some blog posts that I’ll write as I come across interesting things while developing … Continue reading

Posted in Uncategorized | Leave a comment