Eloquent

Total lessons: 3

Laravel Custom Casts

One of the new features in Laravel 7 is the creation of custom eloquent casts. Learn how to create your own custom casts instead of using attribute mutators.

Laravel Eloquent Builder Vs Scopes

Here we investigate using eloquent scopes and how we can refactor them into our own eloquent builder class.

Laravel Read And Write Database Connections

Learn how you can have multiple read and write connections in your Laravel application