PHPackages                             platine-php/user-agent - 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. [Framework](/categories/framework)
4. /
5. platine-php/user-agent

ActiveLibrary[Framework](/categories/framework)

platine-php/user-agent
======================

Platine User Agent is a lightweight library for detecting user browser, device, OS, CPU

v2.0.0(9mo ago)112.6k[1 issues](https://github.com/platine-php/user-agent/issues)1MITPHPPHP ^8CI passing

Since Dec 5Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/platine-php/user-agent)[ Packagist](https://packagist.org/packages/platine-php/user-agent)[ RSS](/packages/platine-php-user-agent/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (1)

PLATINE USER AGENT
------------------

[](#platine-user-agent)

**Platine User Agent is a lightweight library for detecting user browser, device, OS, CPU**

[![Project Status](https://camo.githubusercontent.com/5b5a2250da48f45495a817a4bcdabb5d101fff298acebe00a55a52815b7119ed/687474703a2f2f6f70656e736f757263652e626f782e636f6d2f6261646765732f6163746976652e737667)](http://opensource.box.com/badges)[![Latest Stable Version](https://camo.githubusercontent.com/cb7865f4830f8c5b628f0b2e04522744850244bd1361ca52dbc8b6baaa0b2a0f/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f757365722d6167656e742f76)](https://packagist.org/packages/platine-php/user-agent)[![Latest Unstable Version](https://camo.githubusercontent.com/da655fe119195a8122292c6161708b0d91a239e9cc119555d099f6b8f0ceb2d0/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f757365722d6167656e742f762f756e737461626c65)](https://packagist.org/packages/platine-php/user-agent)[![Total Downloads](https://camo.githubusercontent.com/1c7499ff8332c445cefa68d45bc17f95697b5223d1e59621e0f33e74d94e04ee/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f757365722d6167656e742f646f776e6c6f616473)](https://packagist.org/packages/platine-php/user-agent)[![License](https://camo.githubusercontent.com/75def5286b2ebbf21b314135e47c30cc981404472e6c670c583efe8a0961c9a4/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f757365722d6167656e742f6c6963656e7365)](https://packagist.org/packages/platine-php/user-agent)
[![Tests](https://github.com/platine-php/user-agent/actions/workflows/ci.yml/badge.svg)](https://github.com/platine-php/user-agent/actions/workflows/ci.yml/badge.svg)[![Quality Score](https://camo.githubusercontent.com/15979f26042d201708ad257d1a07fe8d928a60db157fdd8bbb5b5885ab914155/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706c6174696e652d7068702f757365722d6167656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/platine-php/user-agent)[![Codacy Badge](https://camo.githubusercontent.com/1424f728efc61a3f4c1a8442fc086f107445f6aa71fc775414bc29f929392cb6/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6465396434323931633132653437363161383366363961313434366464356235)](https://app.codacy.com/gh/platine-php/user-agent/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)[![Codacy Badge](https://camo.githubusercontent.com/63d422dfe3ec732ff1ddc6345ef58852a4f230126d76c3ab4dfbec6fb14e6a77/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f6465396434323931633132653437363161383366363961313434366464356235)](https://app.codacy.com/gh/platine-php/user-agent/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)

### Requirements

[](#requirements)

- **PHP &gt;= 8.0**

### Installation

[](#installation)

#### Using composer (recommended)

[](#using-composer-recommended)

```
composer require platine-php/user-agent
```

### License

[](#license)

MIT License See [LICENSE.MD](LICENSE.MD)

### Resources

[](#resources)

- [Documentation](https://docs.platine-php.com/packages/user-agent)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance56

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~652 days

Total

2

Last Release

279d ago

Major Versions

v1.0.0 → v2.0.02025-09-18

PHP version history (2 changes)v1.0.0PHP ^7.4 || ^8

v2.0.0PHP ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16177981?v=4)[Tony NGUEREZA](/maintainers/nguereza-tony)[@nguereza-tony](https://github.com/nguereza-tony)

---

Top Contributors

[![nguereza-tony](https://avatars.githubusercontent.com/u/16177981?v=4)](https://github.com/nguereza-tony "nguereza-tony (16 commits)")

---

Tags

phpframeworkbrowserCPUuser agentapplicationdeviceosplatine

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/platine-php-user-agent/health.svg)

```
[![Health](https://phpackages.com/badges/platine-php-user-agent/health.svg)](https://phpackages.com/packages/platine-php-user-agent)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
