Mobile-Detect icon indicating copy to clipboard operation
Mobile-Detect copied to clipboard

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.

Results 119 Mobile-Detect issues
Sort by recently updated
recently updated
newest added

How can i get only mobile name? Result like : your System is "Android" and Model is "Redmi 9s". I try this : ``` require_once 'Mobile_Detect.php'; $user_agent=$_SERVER['HTTP_USER_AGENT']; $detect = new...

Hey, I took the liberty to propose a minimal changeset for php 8 support and with that also drop support for unsupported php versions (https://www.php.net/supported-versions.php). - dropped support for php...

PHP8

Issue description Huawei browser with HMSCore isn't recognized with click on link , but recognized after refresh page User-Agent(s) ???

**Issue description** Xiaomi Pad 5 Model 21051182G isn't recognized as a Tablet **User-Agent(s)** Mozilla/5.0 (Linux; Android 11; 21051182G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 **Suggestions** Add 'XiaomiTablet'=>'Android.*21051182G', to protected static...

$_SERVER['HTTP_USER_AGENT'] has value: 'Mozilla/5.0 (Linux; Android 10; Lenovo TB-X306X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome' This is detected as a phone by Version 2.8.37. But the device is a quite ordinary...

Miui Browser is detected like Safari Browser. UA Example: Mozilla/5.0 (Linux; U; Android 11; es-es; Mi A3 Build/RKQ1.200903.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.13.0-gn Code example: `...

We can also detect browser DuckDuck used on Tablets/Mobiles. Its UA contains DuckDuckGo substring. UA example: Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)...

Hi, this UA fails isTablet function `Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0; wbx 1.0.0; rv:11.0)...