Laravel Tutorials / September 30, 2015

Learn about pivot tables and many-to-many relationships

Laravel Daily has a new post on pivot tables and many-to-many relationships:

I want to talk about a feature of Laravel which is really useful but can be potentially difficult to understand at first. A pivot table is an example of intermediate table with relationships between two other “main” tables.

This is a feature that is, indeed, a little hard to figure in the beginning. Another great resource covering relationships is Dayle’s Code Bright post.

Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.