Download the PHP package scn/udger-php without Composer
On this page you can find all versions of the php package scn/udger-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download scn/udger-php
More information about scn/udger-php
Files in scn/udger-php
Package udger-php
Short Description PHP agent string parser based on Udger https://udger.com/products/local_parser
License MIT
Informations about the package udger-php
Udger client for PHP (data ver. 3)
Local parser is very fast and accurate useragent string detection solution. Enables developers to locally install and integrate a highly-scalable product. We provide the detection of the devices (personal computer, tablet, Smart TV, Game console etc.), operating system, client SW type (browser, e-mail client etc.) and devices market name (example: Sony Xperia Tablet S, Nokia Lumia 820 etc.). It also provides information about IP addresses (Public proxies, VPN services, Tor exit nodes, Fake crawlers, Web scrapers, Datacenter name .. etc.)
- Tested with more the 50.000 unique user agents.
- Up to date data provided by https://udger.com/
Requirements
- php >= 8.0.0
- ext-sqlite3 (http://php.net/manual/en/book.sqlite3.php)
- datafile v3 (udgerdb_v3.dat) from https://data.udger.com/
Features
- Fast
- LRU cache
- Released under the MIT
Install
composer require udger/udger-php
Usage
You should review the included examples (parse.php
, account.php
)
Here's a quick example:
Running tests
./vendor/bin/codecept run
Automatic updates download
- for autoupdate data use Udger data updater (https://udger.com/support/documentation/?doc=62)
Documentation for programmers
Author
- The Udger.com Team ([email protected])
old v2 format
If you still use the previous format of the db (v2), please see the branch old_format_v2
All versions of udger-php with dependencies
ext-sqlite3 Version *