public static function generate(string $text = '', ?int $maxLength = null): string
    {
        $text = StripTags::strip($text);
        $text = \strtolower(\iconv('UTF-8', 'ASCII//TRANSLIT', $text));
        $text = \preg_replace('/[^a-z0-9\-\ ]/', '', $text);
        $text = \preg_replace('/[\s\-]+/', '-', $text);
        if (\is_int($maxLength)) {
            $text = \substr($text, 0, $maxLength);
        }
        $text = \rtrim($text, '-');

        return '/'.$text;
    }