where('role_id', 3)
$user = User::where('role_id', 3)
->where('phone', 'like', "%{$search}%");
->where('email', 'like', "%{$search}%");
->paginate(25);
$user = User::where('role_id', 3)
->andWhere(function($query) {
$query
->where('phone', 'like', "%{$search}%")
->orWhere('email', 'like', "%{$search}%");
})
->paginate(25);