Developer tools

serbanghita/Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

Repository details

  • Primary language: PHP
  • License identifier: MIT
  • Stars at capture: 10,677
  • Forks at capture: 2,588
  • Metadata source: GitHub API, retrieved 20 November 2026

Getting started

Read the installation section and the examples for the release you intend to use. Check its PHP and extension requirements against your development environment.

Discussion

Sign in to participate.