Home
Free Premium Articles
Free Premium Courses
New
Home
Free Premium Articles
Free Premium Courses
New
Back to Course
|
Eloquent: The Expert Level (Laravel 9)
Brackets Between "and" / "or" Conditions
Instead of Multiple If-Else, Use Eloquent When()
Local and Global Scopes for Repeating Conditions
generating...
Brackets Between "and" / "or" Conditions
Instead of Multiple If-Else, Use Eloquent When()
Course Content
Eloquent Model Options and Settings
01
php artisan make:model - Less-Known Possible Options
02
Singular or Plural Models? What about multiple words?
03
Saving a Model: $fillable or $guarded?
04
Model Properties: Tables, Keys, Increments, Pages and Dates
05
New in Laravel 9.21: php artisan model:show
06
Customize Model Default Template with Stubs
07
Model $casts: Dates, Enum and More
Creating and Updating Eloquent Records
08
FirstOrCreate, and Other 2-in-1 Methods
09
WasCreated, IsDirty and Other Checks If Model Was Changed
10
Model Observers and Their Methods
11
Attributes: Accessors and Mutators with New/Old Syntax
12
touch() Method To Work With updated_at
13
Model API Docs and 3 More Random Methods
Querying and Filtering Data Effectively
14
find(), all(), first() and Their Extra Options
15
whereDate() and other whereX Methods
16
Brackets Between "and" / "or" Conditions
17
Local and Global Scopes for Repeating Conditions
18
Instead of Multiple If-Else, Use Eloquent When()
19
Raw Queries as a Last Resort
Advanced Eloquent Relations
20
Polymorphic Relations: Explained with Example
21
Advanced Polymorphic: Many-to-Many
22
Advanced BelongsToMany with Extra Pivot Table Features
23
HasManyThrough: 2-Level Deep hasMany
24
Methods to Query Relationship Data
25
Use withCount When Just Counting
26
New Since Laravel 8.x: LatestOfMany
Useful Packages to Extend Eloquent
27
Spatie Query Builder and Alternative Eloquent Filter
28
Spatie Laravel Searchable and Cross Eloquent Search
29
HasManyDeep and Other "Extra" Relations
30
Parental by Tighten: Relationship to Self
31
Cascade Soft Deletes: Soft-Delete Children Automatically
32
More Eloquent Packages You Can Explore