How to remove a comma from the last array in Laravel 5?
2 answers
If you are using 5.3, you can use $ loop for this:
@foreach($journal->user as $item)
{{ $loop->first ? '' : ', ' }}
{{ $item->name }}
@endforeach
Code from a similar question .
+6