Laravel Sprintf Span in Controller

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