Mobile Detect Versions Save

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

4.8.04

6 months ago

4.8.03

6 months ago
  • added optional $config to MobileDetect constructor.
  • added autoInitOfHttpHeaders configuration which is by default true. This enabled the old behavior from 3.x and 2.x that allows automatic detection of HTTP headers and User Agent from $_SERVER.
  • refactored internal CloudFront related methods and the way setHttpHeaders work. It no longer falls back on $_SERVER. The method still calls setUserAgent in case HTTP_USER_AGENT and friends are present.
  • added maximumUserAgentLength to the $config, by default the limit is 500.

4.8.01

6 months ago

Other

  • removed unused dependencies
  • removed old examples
  • rearranged /scripts/ folder

3.74.0

1 year ago