banyak hal hubungan dalam contoh laravel stackoverflow

public function category()
{
    return $this->belongsToMany('App\Category');
}
Splendid Squirrel