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