laravel get only relationship of relationship code example Example: laravel get only relationship $products = $popularProducts->pluck('product');