PHP Classes

PHP User Agent Detection: Determine the type of browser from the user agent

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 326 All time: 7,186 This week: 78Up
Version License PHP version Categories
user-agent 1.0.0GNU Lesser Genera...5.2HTTP, PHP 5, Statistics
Description 

Author

This class can determine the type of browser from the user agent.

It parses the current request user agent string to detect the user machine operating system, browser and browser version.

The class may also take an explicit user browser string to parse instead of the current user agent identifier string.

Picture of Eduardo "Trial Force" Bonfandini
  Performance   Level  
Name: Eduardo "Trial Force" ... is available for providing paid consulting. Contact Eduardo "Trial Force" ... .
Classes: 2 packages by
Country: Brazil Brazil
Age: 43
All time rank: 1592105 in Brazil Brazil
Week rank: 178 Up11 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file test.php Example Test/example file
Plain text file userAgent.php Class Base userAgent class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:326
This week:0
All time:7,186
This week:78Up