public static function getFavicon($url, $attributes = [])
    {
        $attr = trim(self::arrayToString($attributes));

        if (!empty($attr)) {
            $attr = " $attr";
        }

        return sprintf(
            '<img src="https://www.google.com/s2/favicons?domain=%s"%s/>',
            urlencode($url),
            $attr
        );
    }