How to automatically call with() method on models during query? – Laravel
I have a User Model and Country Model, and Country belongs to User. I am getting users with country using User model with "with()" method, in different controllers & methods. Users::with('country')->get(); in different controllers. I want Users::get(); It should automatically…