public static function camelize($str, $ucfirst = false)
    {
        $replace = str_replace(
            ' ',
            '',
            ucwords(str_replace(['_', '-'], ' ', strtolower($str)))
        );

        if (!$ucfirst) {
            return lcfirst($replace);
        }

        return $replace;
    }