Skip to content

Commit

Permalink
- updated requirements in the readme file and minor text formatting
Browse files Browse the repository at this point in the history
- added composer install checks: php version and ext-sqlite3
  • Loading branch information
Tibor Barna committed Jan 28, 2016
1 parent ead43d0 commit 56d7204
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -30,15 +32,12 @@ print_r($ret);
echo "</pre>";
```

### 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 ([email protected])
The Udger.com Team ([email protected])
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
],
"type": "library",
"license": "GNU (LGPL v.3)",
"require":{
"php": ">=5.3.0",
"ext-sqlite3": "*"
},
"require-dev": {
"codeception/codeception": "^2.1"
},
Expand Down

0 comments on commit 56d7204

Please sign in to comment.