Skip to main content
CF

Laravel Eloquent: Expert Level

3h 46m 18s
English
Paid

Laravel Eloquent: Expert Level is a 39-lesson 3 hours 46 minutes self-paced course by LaravelDaily. After this course, you will become expert in creating relationships, querying data effectively and using less-known Eloquent features.

Course facts

Lessons
39
Duration
3 hours 46 minutes
Level
All levels
Language
English
Updated
Instructor
LaravelDaily
Price
Premium

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.


 

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?



Who teaches Laravel Eloquent: Expert Level? LaravelDaily

LaravelDaily thumbnail

LaravelDaily is the long-running PHP / Laravel teaching brand of Povilas Korop, one of the most prolific Laravel content creators on the open web. The site has been publishing daily Laravel content for over a decade and now operates a paid course catalog plus the LaravelDaily YouTube channel and a popular weekly newsletter.

The CourseFlix listing carries five LaravelDaily courses covering Laravel project structure, REST API construction, advanced Eloquent ORM patterns, SOLID-principles application in Laravel, and the Laravel + Vue full-stack stack. Material is paid and aimed at Laravel developers ready to move past the framework basics into the patterns that show up in real production codebases.

What lessons are included in Laravel Eloquent: Expert Level?

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 39 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Artisan Command make:model with (hidden) options
All Course Lessons (39)
#Lesson TitleDurationAccess
1
Artisan Command make:model with (hidden) options Demo
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
Unlock unlimited learning

Get instant access to all 38 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

What courses are similar to Laravel Eloquent: Expert Level?

More courses by LaravelDaily

Frequently asked questions

What are the prerequisites for enrolling in this course?
Before enrolling in this course, you should have a basic understanding of PHP and experience working with the Laravel framework. Familiarity with basic database operations and Eloquent ORM will be beneficial, as the course covers advanced topics like model observers, polymorphic relations, and complex query structures.
What projects will I build during the course?
One of the hands-on projects in the course involves creating a Laravel mini-blog. This project is designed to help you apply various Eloquent features and relationships, such as creating records with relationships, implementing polymorphic relations, and using packages like spatie/laravel-medialibrary for file associations.
Who is the target audience for this course?
This course is intended for intermediate to advanced Laravel developers who want to deepen their understanding of Eloquent ORM. It's ideal for those who are already comfortable with basic Laravel applications and are looking to optimize database operations and explore advanced Eloquent capabilities.
How does this course compare to other Eloquent courses?
Unlike introductory courses, this course dives into less-known Eloquent features and advanced topics like caching in Eloquent, handling the N+1 problem with eager loading, and using packages for multilingual models. It provides a comprehensive look at optimizing performance and managing complex database relationships.
Does the course cover any specific Laravel packages?
Yes, the course covers several Laravel packages that enhance Eloquent functionality, including spatie/laravel-medialibrary for file associations, dimsav/laravel-translatable for multilingual models, spatie/eloquent-sortable for sortable models, and owen-it/laravel-auditing for recording model changes.
What topics are not covered in the course?
The course does not cover introductory topics or basic Laravel application setup. It assumes that learners are already familiar with setting up a Laravel project and performing basic Eloquent operations. It also does not delve into front-end frameworks or non-Eloquent Laravel features.
How much time should I expect to commit to this course?
With 39 lessons of varying lengths, learners should be prepared to commit several hours to thoroughly engage with the course material. Although the total runtime is not specified, the depth and complexity of topics like advanced pivot tables and performance testing suggest a comprehensive study period.