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.
serbanghita/Mobile-Detect is #6,657 on the bestofgithub Elo ladder, in Silver V, with a rating of 1,446 (−30 this week). It has 10,677 stars, 1 gained in the last week.