laravel empty collection of a model code example Example: collection empty laravel $isempty = $collection->isEmpty();