laravel forelse empty code example
Example: foreach empty laravel
@forelse($status->replies as $reply)
<p>{{ $reply->body }}</p>
@empty
<p>No replies</p>
@endforelse
Check the documentation for the best result:
http://laravel.com/docs/5.1/blade#control-structures