PHP Classes
elePHPant
Icontem

PHP User Agent Parser class: Parse the user agent and extract browser details

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-01-12 (9 months ago) RSS 2.0 feedStarStarStar 58%Total: 653 This week: 2All time: 4,689 This week: 591Up
Version License PHP version Categories
parseuseragentstring 1.21GNU General Publi...5.0HTTP, PHP 5
Description Author

This class can parse the user agent and extract browser details.

It can parse the current browser user agent or a given user agent string.

The class can analyze the user agent details and store detected browser characteristics in class variables.

Currently it can detect the browser type, computer type (PC, mobile, bot), computer OS, and technology capabilities like JavaScript, frames, CSS, VBScript, cookies, background sounds, Java, ActiveX, mobile, etc..

Recommendations
Picture of Tom Parkison
Name: Tom Parkison <contact>
Classes: 2 packages by
Country: United States United States

  Files folder image Files  
File Role Description
Accessible without login Plain text file changelog.txt Doc. Official Changelog
Accessible without login Plain text file documentation.txt Doc. How to use this class, example code
Plain text file parseUserAgentString.php Class The main file.
Plain text file parseUserAgentString_without_bots.php Class The same thing as parseUserAgentString.php but without bot detection code.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:653
This week:2
All time:4,689
This week:591Up
User Ratings User Comments (1)
 All time
Utility:80%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:100%StarStarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1376