PHPackages                             woothee/woothee - 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. woothee/woothee

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

woothee/woothee
===============

Cross-language UserAgent classifier library, PHP implementation

v1.10.0(7y ago)108633.5k—0.7%12[6 PRs](https://github.com/woothee/woothee-php/pulls)4Apache-2.0PHPPHP &gt;= 5.3.3CI failing

Since Feb 16Pushed 3y ago9 watchersCompare

[ Source](https://github.com/woothee/woothee-php)[ Packagist](https://packagist.org/packages/woothee/woothee)[ RSS](/packages/woothee-woothee/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (17)Used By (4)

Woothee PHP
===========

[](#woothee-php)

[![Build Status](https://camo.githubusercontent.com/c8ccf96c4e6778e4d280d8087ff5dae2f526e3f8faba085b64abf709b96640ce/68747470733a2f2f7472617669732d63692e6f72672f776f6f746865652f776f6f746865652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/woothee/woothee-php)[![Coverage Status](https://camo.githubusercontent.com/c67641d34fab5d1c4af43d01f3cff3f266a2f0500f489fd6d6717e94d224fb8b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f776f6f746865652f776f6f746865652d7068702f62616467652e706e67)](https://coveralls.io/r/woothee/woothee-php)[![Packagist](https://camo.githubusercontent.com/41bf981923000e73ebb891550459749d5e797cd06debacc3df0d257b291e17d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f6f746865652f776f6f746865652e737667)](https://packagist.org/packages/woothee/woothee)

The PHP implementation of Project Woothee, which is multi-language user-agent strings parsers.

This project is almost ported from [`woothee-java`](https://github.com/woothee/woothee-java)

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

[](#installation)

Install this library using [Composer](https://getcomposer.org/).

Run below command in your project directory.

```
$ composer require woothee/woothee

```

Or add this library in your `composer.json`'s `require` section manually.

```
{
  "require": {
    "woothee/woothee": "*"
  }
}
```

Usage
-----

[](#usage)

### Parsing user-agent

[](#parsing-user-agent)

```
