Laravel Pivot Tables: Simple to Advanced Many-to-Many

This is a deep dive into belongsToMany Relationships in Laravel with examples - from simple, to much more complex. [00:26] Basic example of pivot table [02:49] Customizing pivot table and column names [04:03] Adding Timestamps to pivot table [05:13] Adding custom columns to pivot table [06:47] Renaming “pivot“ to something else [07:16] BelongsToMany with conditions [08:32] Model for the pivot table with extra relationship Want more? Here’s my course “Eloquent: Expert Level“
Back to Top