webignition/php-ie-detector

Parses a user agent string to detect Internet Explorer

Installs: 2 787

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/webignition/php-ie-detector

0.2 2018-04-19 16:58 UTC

This package is auto-updated.

Last update: 2025-10-05 21:12:26 UTC


README

Parses a user agent string to detect Internet Explorer.

A bare-bones minimal way of detecting IE6, IE7 or IE8.

Usage

<?php

use webignition\IEDetector\IEDetector;

$ie6UserAgent = 'Mozilla/4.0 (MSIE 6.0; Windows NT 5.0)';

if (UserAgentDetector::isIE6()) {
    // ...
}