laravel create coma separated string from query

Solutions on MaxInterview for laravel create coma separated string from query by the best coders in the world