PHP Classes

Client Data: Get the user browser details and location

Recommend this page to a friend!
  Info   Documentation   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: 208 All time: 8,394 This week: 455Up
Version License PHP version Categories
client-data 1.0.0MIT/X Consortium ...5.4HTTP, PHP 5, Geography
Description 

Author

This class can Get the user browser details and location.

It can check the user agent string and determine the browser type, user device type, and IP address.

The class can also retrieve the user location from the IP address using the GeoIP package.

Picture of Itay Segal
  Performance   Level  
Name: Itay Segal <contact>
Classes: 2 packages by
Country: Israel Israel

Documentation

In order to use this class you need to include GeoIP db. you can find the database HERE: https://dev.maxmind.com/geoip/geoip2/geolite2/ and the .phar OR composer HERE: https://github.com/maxmind/GeoIP2-php

  Files folder image Files (2)  
File Role Description
Plain text file BrowserData.php Class get client data
Accessible without login Plain text file README.txt Doc. read me file

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:208
This week:0
All time:8,394
This week:455Up