2017 © Pedro Peláez
 

library browser-detector

Detect user Browser, OS and Device through Browser USER AGENT

image

endorphin-studio/browser-detector

Detect user Browser, OS and Device through Browser USER AGENT

  • Friday, March 2, 2018
  • by endorphin-studio
  • Repository
  • 4 Watchers
  • 3 Stars
  • 837 Installations
  • PHP
  • 3 Dependents
  • 2 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 56 % Grown

The README.md

Detect user Browser, OS and Device through USER AGENT, (*1)

Code Status

Latest Stable Version Total Downloads License Build Status Scrutinizer Code Quality, (*2)

About

Author: Serhii Nekhaienko
Email: sergey.nekhaenko@gmail.com
Stable Version: 6.0.1
License: MIT

Packages

Laravel Package, (*3)

Requirements

PHP >=7.0 <7.3
endorphin-studio/browser-detector-detection >=1.0.1
endorphin-studio/browser-detector-tools >=1.0.0
endorphin-studio/browser-detector-data >=1.0.3

Install via Composer

composer require endorphin-studio/browser-detector

Basic Usage

use EndorphinStudio\Detector\Detector;

$detector = new Detector();
$result = $detector->analyse();

echo json_encode($result);

Result:, (*4)

{
      "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36",
      "os": {
        "family": "unix",
        "type": "desktop",
        "version": "x86.64",
        "name": "Linux"
      },
      "browser": {
        "type": "desktop",
        "version": "66.0.3359.181",
        "name": "Chrome"
      },
      "device": {
        "version": null,
        "name": "PC",
        "type": "desktop"
      },
      "isTouch": false,
      "isMobile": false,
      "isTablet": false
}

Browser Detection Support

Google Chrome, Firefox, Opera, Opera Mini, Opera Mobile, Internet Explorer, Internet Explorer Mobile
Edge, Epiphany, Chimera, CometBird, Kylo, iCab, Chromium, Beamrise, Camino, Columbus,
Deepnet Explorer, Yandex Browser, AOL Explorer, IceWeasel, Flock, Netscape Navigator,
Dolphin, Atomic, Chrome Mobile, Arora, Midori, Conkeror, Skyfire, Maxthon, Rekonq, Safari, Konqueror
QQ Browser, Samsung Browser, UC Browser, Puffin, Safari Mobile, Yandex Browser (mobile)
Chrome Mobile

Operating System Detection Support

Windows Phone, Windows Mobile, Windows, iOS, Android, Linux, Ubuntu, Chromium OS, Bada, Maemo
AIX, Aliyun OS, Amiga, Android (TV), Apple (TV), Qtopia, Arch Linux, Mac OS X, AROS, Baidy Yi,
BeOS, BlackBerry OS, Tizen

Device Detection Support

Microsoft Lumia, iPhone, iPod, iPad, Android based, Dell, NOOK, Samsung, Toshiba, HTC, Cisco, Asus,
Google Nexus, Kindle Fire, Motorolla, Microsoft Sursace, Sony Ericsson, Nokia, Apple TV, Zune HD
ZTE, Zaurus, Megafon, Smart TV, Philips Smart TV , Toshiba Smart TV, Sony Bravia Smart TV, LG Smart TV
Roku, Amazon Fire Stick, Google Chromecast, Xbox One, Playstation 4, Playstation Vita, Nintendo 3DS
Samsung Galaxy Note, Samsung Galaxy, HTC One, Google Pixel C, Nvidia Shield, Amazon Kindle, Xiaomi

Device Type Detection

- tv
- mobile
- tablet
- player
- console
- desktop

The Versions

02/03 2018

4.0.x-dev

4.0.9999999.9999999-dev

Detect user Browser, OS and Device through Browser USER AGENT

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Serhii Nekhaienko

user-agent browser-detector user-agent-string device-detector

06/02 2017

3.0.0.x-dev

3.0.0.9999999-dev

Detect user Browser, OS and Device through Browser USER AGENT

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Sergey Nehaenko

user-agent browser-detector user-agent-string device-detector

05/02 2017

3.0.1

3.0.1.0

Detect user Browser, OS and Device through USER AGENT

  Sources   Download

GPL-3.0+

The Requires

  • php >=5.6

 

The Development Requires

by Sergey Nehaenko

user-agent browser-detector user-agent-string device-detector

15/06 2016

3.0.0

3.0.0.0

Detect user Browser, OS and Device through USER AGENT

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Sergey Nehaenko

05/06 2016

2.0.1.x-dev

2.0.1.9999999-dev

Detect user Browser, OS and Device through USER AGENT

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Sergey Nehaenko

25/05 2016

v2.0.x-dev

2.0.9999999.9999999-dev

Detect user Browser, OS and Device through USER AGENT

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Sergey Nehaenko

25/05 2016

v2.0

2.0.0.0

Detect user Browser, OS and Device through USER AGENT

  Sources   Download

GPLv3

The Requires

 

The Development Requires

by Sergey Nehaenko