Vincent Bergeron - Software Developer
Specializing in PHP, Laravel, Livewire & Vue.js

Latest articles

January 24, 2025

Understand Laravel Magic: How Eloquent Models Dynamically Retrieves Attributes

I've been working with Laravel for almost eight years, and I think I know Eloquent pretty well. But for a long time, I didn’t fully understand what happens under the hood when accessing properties on a model instance—and I’m sure I’m not the only...

Read

January 13, 2025

How a Post Helped Me Identify and Fix Multiple SQL Queries on a Single Table in the Same HTTP Request

In very early January, I was casually hanging out on X when I came across a very insightful post. The post explained a simple but powerful concept: if you're executing something computationally heavy, and it's called multiple times in a single request,...

Read

January 2, 2025

Laravel's PHP attributes

Happy New Year! Lately I've been quite excited by Laravel's PHP attributes. Attributes offer the ability to add structured, machine-readable metadata information on declarations in code: Classes, methods, functions, parameters, properties and class...

Read