Laravel merge relationships

Is there a way to merge 2 relationships in laravel? this is the way it’s setup now, but Is there a way I could return both merged? public function CompetitionsHome() { return $this->HasMany(…

Laravel Eloquent inner join with multiple conditions

I have a question about inner joins with multiple on values. I did build my code like this in laravel. public function scopeShops($query) { return $query->join(‘kg_shops’, function($join) {…