Используя, где в Ларавеле 8
/**
* filter the user result
*
* @var array
*/
public function users()
{
$search = "United States";
$users = User::where('country', 'LIKE', '%'.$search.'%')
->get();
dd($users);
}
Naughty Narwhal