Laravel's Eloquent object-relational mapper (ORM) is one of the most-loved features of the framework. Eloquent makes it easy to connect to relational data in a database and work with it using Object-Oriented models in your Laravel app. It is simple to set up, easy to use, and packs a lot of power.
In this Coffee Break Course, we'll take a look at relationships in Eloquent. You'll learn how to use relations and how they translate into SQL queries, and I'll also explain some of the magic that Laravel performs behind the scenes.
If you haven't used Laravel before, why not check out our full course and learn Laravel 5: Get Started With Laravel 5. If you've mastered the fundamentals of Laravel, build on your experience with these courses:
1. How It Works: Laravel Eloquent ORM
[SOUND] Laravel's eloquent is a modern, simple, and powerful act of record ORM. One of its beloved features are relations that allow one to access related data with ease. I'm Matt Machuga and in this video, we're going to take a look at how eloquent relations work under the hood and what these abstractions help us with.