Eloquent By Example

15. Advanced Has Many Through: A quick guide to SQL views

Download full source code

Let's cover every Eloquent relationship type from beginner to advanced, with a practical project-style implementation.