David Carrdcblogdev.hashnode.dev·Dec 24, 2017Laravel blade - Remove the last comma from arrayUsing the $loop variable ( The new $loop variable in Laravel 5.3 ) inside of a loop it’s easy to check when you're at the start or the end of a loop. In this case show a comma for all items except the last one we can use: ! $loop->last Which says ...264 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.