agent
agent copied to clipboard
👮 A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect
**User Agent** `com.google.GoogleMobile/38.0.0 iPad/9.3.3 hw/iPad3_6` **Code** `$platform = $agent->platform();` `$platformVersion = $agent->version($platform);` **Return** `iOS` `false` **User Agent** `com.google.GoogleMobile/40.1.0 iPhone/10.3.3 hw/iPhone9_3` **Code** `$platform = $agent->platform();` `$platformVersion = $agent->version($platform);` **Return** `false` `false`...
The browser version is not correctly defined. Device: Mobile Platform: AndroidOS 6.0 Founded Browser: Chrome 40.0.2214.89 Real Browser: MZ Browser 6.9 User Agent: `Mozilla/5.0 (Linux; U; Android 6.0; zh-CN; MZ-PRO...
I wrote below on phpunit. public function testAccessAsiPhone() { $headers = [ 'User-Agent' => 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372...
Device: **Xiaomi A1** User Agent: `Mozilla/5.0 (Linux; Android 8.0.0; Mi A1 Build/OPR1.170623.026) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.109 Mobile Safari/537.36` Code: `Agent::browser()` `Agent::version()` Return 'Opera' NULL I am try to debug,...
Is ther is a way to use in Laravel.views ?
I think the package does not detect firefox last version
I am having issues. Agent::platform() Agent::device() are returning an empty string when the requests are coming from a native iOS and Android. But it is returning details when I am...
Sorry if I'm posting in the wrong place, I'm new to github, but I felt the need of a $agent->landscape() or $agent->portrait(), is it possible to develop? Thanks
When I make a call from native iOS app built with Swift 3 ......all this three properties return as "0" $agent->device, $agent->platform, $agent->browser Can you please help?...why it doesn't detect...
detectionType always return "mobile"