Many To Many Polymorphic Relations: Model Structure

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Post extends Model
{
    /**
     * Get all of the tags for the post.
     */
    public function tags()
    {
        return $this->morphToMany('App\Tag', 'taggable');
    }
}

Many To Many Polymorphic Relations: Model Structure — Structure map

Clickable & Draggable!

Many To Many Polymorphic Relations: Model Structure — Related pages: