Povilas Korop | Laravel Courses Creator & Youtuber on X: "Laravel tip. There's no way to define a relationship hasManyThrough between hasMany and belongsToMany tables. But you can use Collection `flatMap` to
Eloquent: Recursive hasMany Relationship with Unlimited Subcategories
Eloquent: Recursive hasMany Relationship with Unlimited Subcategories
php - How to select field name using with relation in laravel - Stack Overflow
How to Use Has-Many-Through Relationships in Laravel