PHPackages                             gavroche/browser - 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. gavroche/browser

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

gavroche/browser
================

Detecting the user's browser, operating system and language.

4.0.1(10y ago)216.1k11MITPHPPHP &gt;=5.3.3

Since Mar 19Pushed 10y ago2 watchersCompare

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

READMEChangelogDependencies (1)Versions (14)Used By (1)

[This project has moved to sinergi/php-browser-detector](https://github.com/sinergi/php-browser-detector)
=========================================================================================================

[](#this-project-has-moved-to-sinergiphp-browser-detector)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% 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 ~75 days

Recently: every ~69 days

Total

13

Last Release

3906d ago

Major Versions

v2.2 → v3.0.02014-03-09

3.1.4 → 4.0.02015-08-22

PHP version history (3 changes)v2.0PHP &gt;=5.3

3.1.0PHP &gt;=5.3.0

4.0.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6575485?v=4)[gavroche](/maintainers/gavroche)[@gavroche](https://github.com/gavroche)

---

Top Contributors

[![gabrielbull](https://avatars.githubusercontent.com/u/671923?v=4)](https://github.com/gabrielbull "gabrielbull (57 commits)")[![iGusev](https://avatars.githubusercontent.com/u/1555767?v=4)](https://github.com/iGusev "iGusev (21 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (11 commits)")[![janhohner](https://avatars.githubusercontent.com/u/649895?v=4)](https://github.com/janhohner "janhohner (2 commits)")[![pavarnos](https://avatars.githubusercontent.com/u/589595?v=4)](https://github.com/pavarnos "pavarnos (2 commits)")[![martin-song-ck](https://avatars.githubusercontent.com/u/7536054?v=4)](https://github.com/martin-song-ck "martin-song-ck (1 commits)")[![cbulock](https://avatars.githubusercontent.com/u/176519?v=4)](https://github.com/cbulock "cbulock (1 commits)")[![tigrazone](https://avatars.githubusercontent.com/u/3808839?v=4)](https://github.com/tigrazone "tigrazone (1 commits)")[![blackbass1988](https://avatars.githubusercontent.com/u/1463891?v=4)](https://github.com/blackbass1988 "blackbass1988 (1 commits)")

---

Tags

browserlanguagedetectionosoperating system

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gavroche-browser/health.svg)

```
[![Health](https://phpackages.com/badges/gavroche-browser/health.svg)](https://phpackages.com/packages/gavroche-browser)
```

###  Alternatives

[cbschuld/browser.php

A PHP Class to detect a user's Browser. This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string. This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.

5876.7M19](/packages/cbschuld-browserphp)[patrickschur/language-detection

A language detection library for PHP. Detects the language from a given text string.

8513.2M18](/packages/patrickschur-language-detection)[thadafinser/user-agent-parser

UserAgent parsing done right http://useragent.mkf.solutions/

249316.9k2](/packages/thadafinser-user-agent-parser)[foroco/php-browser-detection

Ultra fast PHP library to detect browser, OS, platform and device type by User-Agent parsing

1554.7M7](/packages/foroco-php-browser-detection)[unicodeveloper/laravel-identify

A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language

19322.0k](/packages/unicodeveloper-laravel-identify)[tivie/php-os-detector

A small utility library that detects the OS the server is running on

201.6M11](/packages/tivie-php-os-detector)

PHPackages © 2026

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