WordPress Taxonomy Structure For Laravel
<p>I am developing a taxonomy system (tags, categories, and attributes) with Laravel. Currently in my database I have the following tables, "terms", "term_relationships" and "products". The "term_relationships" table being the pivot table. However, with multiple taxonomies (e.g. categories, tags and attributes), how can I store the taxonomy names without getting them confused between categories, tags or attributes. I see that WordPress uses a 4th table named "term_taxonomy", however I am unsure of how the 4 tables relate to each other.  </p>

<p>Would someone be so kind as to enlighten me on this subject providing the best solution to implement such a taxonomy system. </p>

<p>Thank you.</p>