The Black Friday Sale is on. Get 40% discount on subscriptions until Monday. 👉

snippet

Quick and Easy Nested Categories in Laravel

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.

Watch this snippet
  • 20 mins
  • Released 4 days ago