Published On Feb. 8th 2016

Laravel 5.2 From Scratch: Defining Relationships With Eloquent

Episode 8 Run Time 16:18

Eloquent provides a beautiful mechanism for referencing relationships. For example, a comment belongs to a post, a card can have many notes, and an article can both belong to and have many tags. Let's demonstrate the basic workflow for creating these relationships today.