Laravel Sprintf Span no controlador

$labels[] = sprintf('<span class="label label-info">%s</span>', $str);
Snippets