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.
Hey, I'm the founder of Codecourse and a full-stack developer of over 10 years.
© 2022 Codecourse Ltd. All Rights Reserved. Born in the UK.