Download the PHP package sail/useragent without Composer
On this page you can find all versions of the php package sail/useragent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sail/useragent
More information about sail/useragent
Files in sail/useragent
Download sail/useragent
More information about sail/useragent
Files in sail/useragent
Vendor sail
Package useragent
Short Description Library to detect the browser and all its info (OS, Platform, ...)
License MIT
Homepage http://github.com/rainphp/useragent
Package useragent
Short Description Library to detect the browser and all its info (OS, Platform, ...)
License MIT
Homepage http://github.com/rainphp/useragent
Keywords useragentbrowser-detection
Please rate this library. Is it a good library?
Informations about the package useragent
Sail\Useragent
This Library detect the browser and all its informations, such as the browser name and version, the OS and the platform. It uses Dependency Injection to load a Parser library, so you can choose the level of details you need from the detection.
Parser
- Parser\Simple, it detects the common browsers (Chrome, Safari, Firefox, MSIE), the basic OS (OS X, iOS, Windows, Linux), it detects the device (iPhone,iPad,Android Phone) and the type of useragent (browser, mobile browser, mailer, spider).
- Parser\UAS, it detects all the browser listed in http://user-agent-string.info/list-of-ua using the UAS PHP Api.
- Parser\Quick (in progress), it detect the browser name and the device computer, iphone, ipad, generic mobile.
Quick Start
Install with composer:
create an index.php file:
All versions of useragent with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package sail/useragent contains the following files
Loading the files please wait ....