Summer sale! Save 50% on access to our entire library of courses.Join here →

Quick and Easy Nested Categories in Laravel

1 episode 20 mins


To solve a potentially unlimited amount of nested items like categories, you need more than recursive Eloquent relationships. Let's figure out how to easily build a tree of items with a single query, and use recursive Blade components to output the result.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!


Your progress
  • Total: 20m
  • Played: 0m
  • Remaining: 20m