PHP Classes

PHP Mobile Detection Class: Detect the type of mobile device checking headers

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 293 All time: 7,450 This week: 190Up
Version License PHP version Categories
mobile-detect 1.0.0MIT/X Consortium ...5.0HTTP, PHP 5, Wireless and Mobile
Description 

Author

This class can detect the type of mobile device checking headers.

It can check the HTTP request user agent and other request headers and detect the type of mobile device if the request comes from a user with a mobile browser.

The class looks up at an internal list of user agent strings known to be of mobile devices and returns information of whether the device is mobile or not, or is a phone or tablet, get the operating system.

Recommendations

What is the best PHP detect browser and device class?
Detect browser and device details with platform

What is the best PHP detect mobile class?
Detect Mobile Browser

Picture of Haseeb Ahmad Basil
  Performance   Level  
Name: Haseeb Ahmad Basil is available for providing paid consulting. Contact Haseeb Ahmad Basil .
Classes: 11 packages by
Country: Pakistan Pakistan
Age: 25
All time rank: 6228 in Pakistan Pakistan
Week rank: 24 Up2 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file license.txt Lic. License text
Plain text file Mobile_Detect.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:293
This week:0
All time:7,450
This week:190Up