php-browser-detection icon indicating copy to clipboard operation
php-browser-detection copied to clipboard

Ultra fast PHP library to detect browser, OS, platform and device type by User-Agent parsing

Results 16 php-browser-detection issues
Sort by recently updated
recently updated
newest added

It is inaccurate to use a float for versions. `17.10` is not the same as `17.1`, but by using casting as a float they both appear as `17.1`.

## In windows 11 user agent always is "Windows NT 10.0" If you want to read the "Sec-CH-UA-Platform-Version" header 1. The server needs set `header("accept-ch: Sec-Ch-Ua-Platform, Sec-Ch-Ua-Platform-Version") ; ` 2....

https://www.whatismybrowser.com/detect/what-is-my-user-agent/ say my user_agent is: [Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36](https://explore.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes) and your Script says: MacOS Big Sur any Ideas? Thanks a lot...

Would it be possible to also detect "Crawlers/Robots"..... Here are a few "User-Agents" from one of my server logs.... Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +http://megaindex.com/crawler) CCBot/2.0 (https://commoncrawl.org/faq/) Mozilla/5.0 (X11; compatible; semantic-visions.com crawler;...

Please add a way to output a list of valid options for each returned variable This will help us know what to expect for results. - os_type - os_family -...