Finding Eloquent records where the count of all children for a parent equals a database-stored value
Let's find a solution to an interesting Eloquent problem I faced early on in my Laravel career.
I'm Steven - a fullstack software engineer based out of North Carolina. I'm a fan of Laravel, Vue/Nuxt, Livewire, and building cool stuff.
I have also worked as a mechanical engineer, functioned as the COO of a startup, and acquired a small company in the crowdfunding space.
Let's find a solution to an interesting Eloquent problem I faced early on in my Laravel career.
I hadn't updated my personal site in years. For the past couple of days, I've been fixing that.