Skip to content

Commit

Permalink
Merge pull request #13 from woothee/prepare-v1.0.0
Browse files Browse the repository at this point in the history
Prepare v1.0.0
  • Loading branch information
yuya-takeyama committed Oct 26, 2014
2 parents 888c7ab + a2b3b9f commit 1c8d578
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,23 @@ This project is almost ported from [`woothee-java`](https://github.com/woothee/w

## Installation

TODO: describe installation
Install this library using [Composer](https://getcomposer.org/).

Run below command in your project directory.

```
$ composer require 'woothee/woothee:*'
```

Or add this library in your `composer.json`'s `require` section manually.

```json
{
"require": {
"woothee/woothee": "*"
}
}
```

## Usage

Expand Down Expand Up @@ -52,6 +68,9 @@ $classifier->isCrawler($str); // boolean

## Authors

* k-holy
* okonomi
* TAGOMORI Satoshi
* Yuya Takeyama <[email protected]>

## License
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"php": ">= 5.3.3"
},
"require-dev": {
"phpunit/phpunit": "4.1.*",
"satooshi/php-coveralls": "dev-master",
"symfony/yaml": "2.4.*",
"fabpot/php-cs-fixer": "0.4.*"
"phpunit/phpunit": ">=4.1.0",
"satooshi/php-coveralls": ">=0.6.0",
"symfony/yaml": ">=2.4.0",
"fabpot/php-cs-fixer": ">=0.4.0"
},
"autoload": {
"psr-4": { "Woothee\\": "src/" }
Expand Down
2 changes: 1 addition & 1 deletion src/Classifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

class Classifier
{
const VERSION = '0.4.2';
const VERSION = '1.0.0';

public function isCrawler($ua)
{
Expand Down

0 comments on commit 1c8d578

Please sign in to comment.