WhichBrowser/Parser-PHP
Browser sniffing gone too far — A useragent parser library for PHP observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4814
- days_rel: n/a
- days_push: 836
- n_releases_24m: 0
Adoption not part of the score
1840 stars · 238 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
WhichBrowser/Parser-PHP is a PHP library that parses user agent strings to identify the browser, rendering engine, operating system, and device (including manufacturer and model). It is designed to be extremely thorough, handling user agents where browsers lie about their identity.
Use cases
- parse user agent strings in PHP
- detect browser name and version from user agent
- identify operating system and device model from requests
- gather analytics about which browsers visit a website
- detect mobile devices for adaptive content delivery
When to choose
- you need detailed browser, engine, OS, and device info from user agents in PHP
- other parsers fail on obscure or deceptive user agent strings
- you want device manufacturer and model detection
When to avoid
- you should use feature detection instead of browser sniffing for client-side behavior
- your project is not PHP-based
- you need actively developed cutting-edge support for the newest browsers
Facets
library · maturity maintenance
parser web-development developer-tools php user-agent-parsing browser-sniffing device-detection
2 sources
- readme: https://github.com/WhichBrowser/Parser-PHP · fetched 2026-08-28 · 3060b6c8765c
- homepage: http://whichbrowser.net · fetched 2026-08-29 · 1d24f0f06699
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| WhichBrowser/Parser-PHP | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="WhichBrowser/Parser-PHP")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem