src/Text/Utils.php
public static function getStatusHtml($status, $extraClasses = '', $baseClass = 'label', $tag = 'span')
    {
        $status = strtolower($status);
        $statusHyphenated = implode('-', explode(' ', $status));
        $class = trim("{$baseClass} {$baseClass}-$statusHyphenated $extraClasses");
        return Html::tag($tag, $status, ['class' => $class]);
    }
public static function getStatusHtml($status, $extraClasses = '', $baseClass = 'label', $tag = 'span')
    {
        $status = strtolower($status);
        $statusHyphenated = implode('-', explode(' ', $status));
        $class = trim("{$baseClass} {$baseClass}-$statusHyphenated $extraClasses");
        return Html::tag($tag, $status, ['class' => $class]);
    }
Returns the styled label for the status
@author Olajide Oye <jide@cottacush.com>
@author Olawale Lawal <wale@cottacush.com>
@param $status
@param string $extraClasses
@param string $baseClass
@param string $tag
@return string