//ads:
?>
Laravel implode array items to new lines
PHP Snippet 1:
{!! $photo->tags->pluck('tag')->implode(",<br>") !!}
PHP Snippet 2:
$tag = ['php','css','hrml'];
echo implode("<br />" ,$tag);
PHP Snippet 3:
@foreach ($photo->tags->pluck('tag') as $tag)
{{ $tag }} {{ $loop->last ? '' : '<br>' }}
@endforeach