Laravel Eloquent: Expert Level

3h 46m 18s
English
Paid

After this course, you will become expert in creating relationships, querying data effectively and using less-known Eloquent features. Eloquent is great for database operations, but over the years I've noticed that it is the most popular topic of questions on Twitter or forums like Laracasts, or my own blog Laraveldaily.com.


 

Read more about the course

There are many typical questions like:

- Why this query doesn't return correct results?
- How to transform my SQL to Eloquent?
- Why this statement takes so long to execute?
- How to use eloquent relations in my particular situations? One-to-many or many-to-many? Or Polymorphic?
etc.

And the weirdest part is that I haven't found any course or book that answers all those questions with practical examples. So here we go, I'm trying to fill that gap.

In this course you will find videos with various less-known tips, more effective ways to use Eloquent, and also a lot of practical examples.

The course requires some fundamental Laravel and Eloquent knowledge, I won't cover the basics. It's not a course about Eloquent from zero, it's about a jump from junior to Expert. Will you join me on this journey?



Watch Online Laravel Eloquent: Expert Level

Join premium to watch
Go to premium
# Title Duration
1 Artisan Command make:model with (hidden) options 04:50
2 Singular or Plural? What about multiple words? 03:56
3 Saving a Model: $fillable or $guarded? 04:15
4 Properties for Tables, Keys, Increments, Pages and Dates 05:43
5 "Magic" methods: FirstOrCreate() and other 2-in-1s 03:56
6 Model Observers: "listening" to record changes 04:57
7 Accessors and Mutators: Change Model Values 04:56
8 Database Seeds and Factories: Prepare Dummy Data 10:28
9 Seeds and Factories with Relationships 06:50
10 Check Methods/Properties in Eloquent API Docs 02:38
11 Advanced find() and all(): Methods and Parameters 04:37
12 WhereX Magic Methods for Fields and Dates 04:17
13 Brackets to Eloquent: (A and B) or (C and D) 03:27
14 Query Scopes: Where Conditions Applied Globally 11:11
15 Eloquent when(): More Elegant if-statement 03:32
16 Ordering by Relationship: orderBy vs sortBy 02:46
17 Raw Database Queries with Examples 02:53
18 Why You Need Collections and How to Use Them 07:03
19 Methods for Fetching and Transforming 08:12
20 Methods for Filtering with Callbacks 05:27
21 Methods for Math Calculations 03:39
22 Methods for Debugging 03:09
23 Polymorphic Relations Explained 09:56
24 Polymorphic Many-to-Many Relations 04:48
25 Advanced Pivot Tables in Many-to-Many 06:58
26 HasManyThrough Relations 03:50
27 Creating Records with Relationships 06:18
28 Querying Records with Relationships 06:53
29 Laravel Debugbar: How to Measure Performance 03:45
30 Performance Test: Eloquent vs Query Builder vs SQL 05:37
31 N+1 Problem and Eager Loading: Be Careful with Eloquent 05:36
32 Caching in Eloquent 05:32
33 spatie/laravel-medialibrary: Associate files with Eloquent models 07:49
34 dimsav/laravel-translatable: Package for Multilingual Models 10:22
35 spatie/eloquent-sortable: Sortable Eloquent Models 04:44
36 spatie/laravel-tags: Add Tags and Taggable Behavior 04:10
37 owen-it/laravel-auditing: Record the Changes From Models 04:38
38 michaeldyrynda/laravel-cascade-soft-deletes: Cascade Delete & Restore 03:50
39 Create a Laravel Mini-Blog in 2 hours 18:50

Similar courses to Laravel Eloquent: Expert Level

Facebook Clone with Laravel, TDD, Vue & Tailwind CSS

Facebook Clone with Laravel, TDD, Vue & Tailwind CSSudemy

Category: Vue, Laravel
Duration 9 hours 9 minutes 44 seconds
Master Laravel, Vue 3 & Inertia Full Stack 2023

Master Laravel, Vue 3 & Inertia Full Stack 2023udemy

Category: Vue, Laravel
Duration 35 hours 53 minutes 40 seconds
Start with TALL: Use Tailwind, Alpine, Laravel & Livewire

Start with TALL: Use Tailwind, Alpine, Laravel & Livewireudemy

Category: Others, Laravel
Duration 4 hours 17 minutes 21 seconds
React Js A-Z With Laravel - For Beginner to Advanced Level

React Js A-Z With Laravel - For Beginner to Advanced Leveludemy

Category: React.js, Laravel
Duration 68 hours 1 minute 33 seconds
React and Laravel: Breaking a Monolith to Microservices

React and Laravel: Breaking a Monolith to Microservicesudemy

Category: React.js, Docker, Laravel, Redis
Duration 15 hours 7 minutes 45 seconds
Laravel Livewire

Laravel LivewireCaleb Porziolaravel-livewire.com

Category: Laravel
Duration 11 hours 29 minutes 28 seconds
Laravel 8 - Advance Course Build School Management System

Laravel 8 - Advance Course Build School Management Systemudemy

Category: Laravel
Duration 80 hours 43 minutes 53 seconds
Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sass

Ultimate PHP, Laravel, CSS & Sass! Learn PHP, Laravel & Sassudemy

Category: CSS, Laravel, PHP
Duration 95 hours 30 minutes
Let's Build A Forum with Laravel and TDD

Let's Build A Forum with Laravel and TDDLaracasts

Category: Laravel
Duration 19 hours 30 minutes 20 seconds
Laravel Backends for Vue.js 3

Laravel Backends for Vue.js 3vueschool.io

Category: Vue, Laravel
Duration 3 hours 44 minutes