# serbanghita/Mobile-Detect

> PHP class that detects mobile devices from user-agent strings and headers

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/serbanghita/Mobile-Detect
- HTML: https://awesomeopensource.dev/project/serbanghita-mobile-detect
- Website: http://mobiledetect.net
- License: MIT
- Language: PHP
- stars: 10677
- Topics: device-detection, mobile-detect, mobile-redirects, php, user-agents
- Activity score: 4.3/5 (Active)
- Last commit (any branch): 2026-11-04
- Last release: 4.11.0 2026-05-24

## Description

Mobile Detect is a small PHP class that decides whether a request comes from a phone, a tablet or a desktop by combining the User-Agent string with specific HTTP headers. It exposes helpers for device type, mobile redirects and version checks, and needs no configuration beyond a Composer install. The library follows a rolling branch per major version, with version 4 requiring PHP 8.2 or newer.

## Maintenance activity

- Recency: 93% (weight 40%) — last commit: 9 days ago
- Commit volume: 80% (weight 25%)
- Releases: 61% (weight 25%) — last release: 173 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 9 / 90d, 36 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
