Let's assume we have a catalog. We have base Item model and item types model (Car extends Item, Moto...
I use this approach (placed in base model): public function manyThroughMany($related, $through,...
The Laravel portal for problem solving, knowledge sharing and community building.
The community