Lessons:12Length:2.1 hours

Next lesson playing in 5 seconds


Free Preview: Connect to a Database With Laravel's Eloquent ORM



Just about every application we write uses a database to store our data. If you're a Laravel developer, then chances are very good that you will use Eloquent to interact with your database. 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 course, Envato Tuts+ instructor Jeremy McPeak will teach you how to use Eloquent, Laravel's object-relational mapper (ORM). Follow along as Jeremy builds the data back-end for a simple guitar database app. You'll learn how to create data tables with migrations, how to create data models, and how to use Eloquent for querying and mutating data.