Skip to content

Commit 56d7204

Browse files
author
Tibor Barna
committed
- updated requirements in the readme file and minor text formatting
- added composer install checks: php version and ext-sqlite3
1 parent ead43d0 commit 56d7204

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Local parser is very fast and accurate useragent string detection solution. Enab
33
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.).
44

55
### Requirements
6-
PHP 5.3 or later.
6+
- php >= 5.3.0
7+
- ext-sqlite3 (http://php.net/manual/en/book.sqlite3.php)
78

89
### Features
910
- Fast
@@ -16,7 +17,8 @@ PHP 5.3 or later.
1617
composer install
1718

1819
### Usage
19-
You should review the included examples (`parse.php`, `isbot.php`, `account.php` or `full_example.php`)
20+
You should review the included examples (`parse.php`, `isbot.php`, `account.php`, `manual_update_data.php` or `full_example.php`)
21+
2022
Here's a quick example:
2123

2224
```php
@@ -30,15 +32,12 @@ print_r($ret);
3032
echo "</pre>";
3133
```
3234

33-
### Dependencies
34-
- SQLite3(http://php.net/manual/en/book.sqlite3.php)
35-
3635
### Running tests
3736

3837
./vendor/bin/codecept run
3938

40-
### data for parser
39+
### Data for parser
4140
- info: https://udger.com/download/data
4241

4342
### Author
44-
The Udger.com Team ([email protected])
43+
The Udger.com Team ([email protected])

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
],
1010
"type": "library",
1111
"license": "GNU (LGPL v.3)",
12+
"require":{
13+
"php": ">=5.3.0",
14+
"ext-sqlite3": "*"
15+
},
1216
"require-dev": {
1317
"codeception/codeception": "^2.1"
1418
},

0 commit comments

Comments
 (0)