Course Curriculum
1 Eloquent Model Options and Settings
make:model - Less-Known Possible Options
1:31
Singular or Plural Models? What about multiple words?
1:37
Saving a Model: $fillable or $guarded?
3:24
Model Properties: Tables, Keys, Increments, Pages and Dates
3:47
Customize Model Default Template with Stubs
1:59
Model casts(): Dates, Enum and More
2:47
2 Creating and Updating Eloquent Records
3 Querying, Filtering and Performance
find(), all(), first() and Their Extra Options
2:30
whereDate() and other whereX Methods
1:04
Brackets Between "and" / "or" Conditions
3:04
Local and Global Scopes for Repeating Conditions
4:29
Instead of Multiple If-Else, Use Eloquent When()
1:44
SubQueries and SubSelects: One Step Towards Raw SQL
1:38
Raw Queries as a Last Resort
1:50
What is N+1 Query: Typical Example, Debugbar and Eager Loading
2:39
N+1 Query: "Deeper" Examples - Packages and Count
3:42
Eager Loading with load() and $with
1:54
Detect and Prevent N+1 Query
3:16
Collections: filter(), map() or DB Query?
2:10
API Return: Kilobytes Optimization
2:59
Eloquent vs Query Builder: whereHas vs join() vs Raw SQL
2:18
Query Result Caching
2:02
Faster Seeds with Insert and Chunk
2:34
4 Advanced Eloquent Relations
Polymorphic Relations: Explained with Example
3:37
Advanced Polymorphic: Many-to-Many
1:45
Advanced BelongsToMany with Extra Pivot Table Features
1:51
HasManyThrough: 2-Level Deep hasMany
1:38
Use withCount When Just Counting
1:37
One Record from Many Records
1:52
Methods to Query Relationship Data
2:21
