diff --git a/README.md b/README.md index ce63ff8..3fd1834 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ Local parser is very fast and accurate useragent string detection solution. Enab We provide the detection of the devices (personal computer, tablet, Smart TV, Game console etc.), operating system and client SW type (browser, e-mail client etc.). ### Requirements -PHP 5.3 or later. + - php >= 5.3.0 + - ext-sqlite3 (http://php.net/manual/en/book.sqlite3.php) ### Features - Fast @@ -16,7 +17,8 @@ PHP 5.3 or later. composer install ### Usage -You should review the included examples (`parse.php`, `isbot.php`, `account.php` or `full_example.php`) +You should review the included examples (`parse.php`, `isbot.php`, `account.php`, `manual_update_data.php` or `full_example.php`) + Here's a quick example: ```php @@ -30,15 +32,12 @@ print_r($ret); echo ""; ``` -### Dependencies -- SQLite3(http://php.net/manual/en/book.sqlite3.php) - ### Running tests ./vendor/bin/codecept run -### data for parser +### Data for parser - info: https://udger.com/download/data ### Author -The Udger.com Team (info@udger.com) \ No newline at end of file +The Udger.com Team (info@udger.com) diff --git a/composer.json b/composer.json index c55eeb3..b26317f 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,10 @@ ], "type": "library", "license": "GNU (LGPL v.3)", + "require":{ + "php": ">=5.3.0", + "ext-sqlite3": "*" + }, "require-dev": { "codeception/codeception": "^2.1" },