laravel empty object check in blade code example
Example: laravel check if object empty
@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif
@if(!$contacts->isEmpty())
//do something
@else
You dont have contacts
@endif