PHPackages                             vchukh/ualibs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vchukh/ualibs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vchukh/ualibs
=============

User-Agents liibrary

0.1.6(7y ago)131Apache-2.0PHPPHP &gt;=7.1

Since Aug 13Pushed 7y ago2 watchersCompare

[ Source](https://github.com/vovarpd/ualibs)[ Packagist](https://packagist.org/packages/vchukh/ualibs)[ RSS](/packages/vchukh-ualibs/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (6)Used By (0)

ualibs
======

[](#ualibs)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3b862feb725f30970a34ac4f45446cb93b893ca5798d0450ee27d9027a8685a9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f564368756b682f75616c6962732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/VChukh/ualibs/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/64b5342a1814b6b810fc292601899b345b8eca748b1743d2eda40dee52409259/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f564368756b682f75616c6962732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/VChukh/ualibs/?branch=master)[![Build Status](https://camo.githubusercontent.com/52ca59536099073a5b7ad8b1a1e7fcc32b50cc838e7d467acaa7982b89316978/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f564368756b682f75616c6962732f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/VChukh/ualibs/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/9fa28a941487e91509eff045dfd3bddc93ca0f3466ba3cacffc167f84e280203/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f564368756b682f75616c6962732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Build Status](https://camo.githubusercontent.com/e230a24ad501bae39d56801f32858f6e77bd9627b192d83c0b3fa1cf09211c40/68747470733a2f2f7472617669732d63692e6f72672f564368756b682f75616c6962732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/VChukh/ualibs)[![Latest Stable Version](https://camo.githubusercontent.com/1bce7fa6bc6b5168b62224162cc4c4262b1aa05ab8e25c1c626ce3b953cc02a2/68747470733a2f2f706f7365722e707567782e6f72672f766368756b682f75616c6962732f762f737461626c65)](https://packagist.org/packages/vchukh/ualibs)[![Total Downloads](https://camo.githubusercontent.com/5414fe0448db4e6675f2d465fdf862bd7cde1109c2706eab628bb5a36e3ed5cd/68747470733a2f2f706f7365722e707567782e6f72672f766368756b682f75616c6962732f646f776e6c6f616473)](https://packagist.org/packages/vchukh/ualibs)[![License](https://camo.githubusercontent.com/e329623a6951c112dcb7350fcd339c2409205ba41837db7469ac81ca27fd4982/68747470733a2f2f706f7365722e707567782e6f72672f766368756b682f75616c6962732f6c6963656e7365)](https://packagist.org/packages/vchukh/ualibs)

UaLibs is a simple PHP library for fetching User-Agent string for different browsers, like Chrome, Edge, Opera, Safari, Internet Explorer, Android Webkit.

It uses User-Agent data from next package: .

Installation
------------

[](#installation)

### Composer

[](#composer)

Add ualibs in your composer.json or create a new composer.json:

```
{
    "require": {
        "vchukh/ualibs": "^0.1"
    }
}
```

Now tell composer to download the library by running the command:

```
$ php composer.phar install
```

Composer will generate the autoloader file automatically. So you only have to include this. Typically its located in the vendor dir and its called autoload.php

Basic Usage:
------------

[](#basic-usage)

```
