Laravel verifique se o objeto vazio
@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif
Xfantasia
@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif
// Check if object is empty
$data = [];
if(blank($data)){
// This object is empty
}