Published On Jan. 27th 2017

Laravel 5.4 From Scratch: Tags and Pivot Tables

Episode 30 Run Time 6:58

It would be nice if we could associate any number of tags with a given post. This is fairly standard for any blogging application. The only problem is that the traditional belongsTo or hasMany relationships that we've learned so far don't quite fit the bill. In this episode, we'll review many-to-many relationships.