PHP Classes

User Agent Parser: Analyze the user agent to check the browser type

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
StarStarStarStar 66%Total: 477 All time: 5,969 This week: 673Up
Version License PHP version Categories
user-agent-parser 1.2.2GNU Lesser Genera...5.0HTTP, PHP 5
Description 

Author

This class can analyze the user agent to check the browser type.

It takes as parameter the string sent by a browser when accessing the site and determines the type of browser.

The class returns an array the the identified browser name, version, type and platform on which the browser is running.

Picture of Vladimir
Name: Vladimir <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: 40
All time rank: 333392 in Russian Federation Russian Federation
Week rank: 200 Up8 in Russian Federation Russian Federation Up

  Files folder image Files (21)  
File Role Description
Files folder imageclasses (1 directory)
Files folder imagedoc (11 files, 5 directories)
Accessible without login Plain text file example.php Example Example

  Files folder image Files (21)  /  classes  
File Role Description
Files folder imageparsers (1 file)

  Files folder image Files (21)  /  classes  /  parsers  
File Role Description
  Plain text file useragentparser.php Class UserAgentParser class file

  Files folder image Files (21)  /  doc  
File Role Description
Files folder imageclasses (1 directory)
Files folder imagefiles (1 file)
Files folder imagemedia (2 files)
Files folder image__examplesource (1 file)
Files folder image__filesource (2 files)
  Accessible without login HTML file blank.html Doc. PHPDoc
  Accessible without login HTML file classtrees_classes.html Doc. PHPDoc
  Accessible without login HTML file classtrees_files.html Doc. PHPDoc
  Accessible without login HTML file elementindex.html Doc. PHPDoc
  Accessible without login HTML file elementindex_classes.html Doc. PHPDoc
  Accessible without login HTML file elementindex_files.html Doc. PHPDoc
  Accessible without login HTML file index.html Doc. PHPDoc
  Accessible without login HTML file li_classes.html Doc. PHPDoc
  Accessible without login HTML file li_files.html Doc. PHPDoc
  Accessible without login HTML file packages.html Doc. PHPDoc
  Accessible without login HTML file todolist.html Doc. PHPDoc

  Files folder image Files (21)  /  doc  /  classes  
File Role Description
Files folder imageparsers (2 files)

  Files folder image Files (21)  /  doc  /  classes  /  parsers  
File Role Description
  Accessible without login HTML file UserAgentParser.html Doc. PHPDoc
  Accessible without login HTML file _classes---parsers...gentparser.php.html Doc. PHPDoc

  Files folder image Files (21)  /  doc  /  files  
File Role Description
  Accessible without login HTML file _example.php.html Doc. PHPDoc

  Files folder image Files (21)  /  doc  /  media  
File Role Description
  Accessible without login Plain text file banner.css Data PHPDoc
  Accessible without login Plain text file stylesheet.css Data PHPDoc

  Files folder image Files (21)  /  doc  /  __examplesource  
File Role Description
  Accessible without login HTML file example.html Doc. PHPDoc

  Files folder image Files (21)  /  doc  /  __filesource  
File Role Description
  Accessible without login HTML file fsource_classes_pa...gentparser.php.html Doc. PHPDoc
  Accessible without login HTML file fsource_files__example.php.html Doc. PHPDoc

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:477
This week:0
All time:5,969
This week:673Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:504