Rankings/matomo-org/device-detector

matomo-org/device-detector

matomo-org/device-detector

A PHP library that automatically identifies whether visitors are using a phone, computer, or tablet, along with specific browser and system models, handling device detection for you.

The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model.

Stars
3,463
Forks
508
Watchers
91
Issues
75
💡

A PHP library that automatically identifies whether visitors are using a phone, computer, or tablet, along with specific browser and system models, handling device detection for you.

📂 Developer ToolsđŸ’» PHP📄 LGPL-3.0

AI Summary

🔍

What This Project Does

It is a tool library specifically designed to parse user access information, telling you what device and browser the visitor is using.

🔧

What Problems It Solves

Previously you had to write complex code to guess user devices; now use this to accurately identify phones, computers, TVs, and even car systems.

đŸ‘„

Who It's For

Suitable for backend developers using PHP, data analytics tool builders, or administrators needing to track user device information.

📋

Typical Use Cases

1. Distinguishing mobile vs. desktop users when tracking website visits. 2. Displaying different webpage versions based on device type. 3. Preventing bot crawlers from disguising themselves as normal users.

⭐

Key Strengths & Highlights

Supports a wide range of device types (recognizing even TVs and car infotainment systems), maintained by the well-known open-source project Matomo, with frequent updates and high accuracy.

🚀

Getting Started Requirements

Requires basic PHP programming knowledge, install directly via Composer, no extra server setup or API keys needed.

🎯

Purpose

Highly recommended when you need to develop a PHP website and must know visitor device details; not suitable for you if you don't know programming or just want to check your own phone model.

Category

Tech Stack

—

Project Info

Primary Language
PHP
Default Branch
master
License
LGPL-3.0
Created
Apr 2, 2014
Last Commit
26 days ago
Last Push
26 days ago
Indexed
Apr 18, 2026
matomo-org/device-detector — Best PHP Device Detection Library on GitHub