matomo-org/device-detector
PHP library for User Agent and device detection
- Chart
- Not on a chart right now
- Stars
- 3.6k
What it is
A PHP library that parses User Agents and Browser Client Hints to identify devices, browsers, operating systems, brands, and models. It covers desktops and mobile devices as well as TVs, consoles, car browsers, wearables, and bots.
Who it is for
PHP developers building web applications or analytics tools that need to detect client environments or filter bot traffic.
Why it is trending
Maintained since 2014 with 3,558 stars, it recently published release 6.5.2. It stands out for offering a standalone bot parser and flexible caching integrations for PSR-6, PSR-16, Doctrine, and Laravel.
Main features
- Detects devices, operating systems, and clients from User Agents and Client Hints
- Provides helper methods for specific device and client types such as TV, console, and wearable
- Includes a dedicated BotParser for lightweight bot-only detection
- Supports custom caching via PSR-6, PSR-16, Doctrine, and Laravel bridges
Summarized on November 17, 2026 from the README and repository data. It can be wrong; check the source before relying on it. Report a wrong summary