Skip to content

tutsplus/how-it-works-laravel-eloquent-orm

 
 

Repository files navigation

Instructor: Matthew Machuga

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 setup, 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, how they translate into SQL queries, and explain some of the magic that Laravel does behind the scenes.

Source Files Description

This repo contains the Laravel app used as an example in the course.

App Run Instructions

  1. cd example-proj
  2. Run composer install
  3. Run touch database/example.sqlite
  4. Run php artisan migrate
  5. Run php artisan db:seed
  6. Run php artisan tinker
  7. Explore and Enjoy!

These are source files for the Envato Tuts+ course: How it Works: Laravel Eloquent ORM

Available on Tuts+. Teaching skills to millions worldwide.

About

Example repo for Laravel Eloquent Basics course for Envato

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 92.7%
  • HTML 4.4%
  • JavaScript 1.4%
  • Other 1.5%