From ca79b2852b148fe793f4b80effc7ec0d18a9921f Mon Sep 17 00:00:00 2001 From: Yuya Takeyama Date: Mon, 27 Oct 2014 01:24:56 +0900 Subject: [PATCH 1/4] Bump --- src/Classifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classifier.php b/src/Classifier.php index 1c63a59..bf8a933 100644 --- a/src/Classifier.php +++ b/src/Classifier.php @@ -31,7 +31,7 @@ class Classifier { - const VERSION = '0.4.2'; + const VERSION = '1.0.0'; public function isCrawler($ua) { From 460c688596792f5984b96e225f28b400fef2bc4a Mon Sep 17 00:00:00 2001 From: Yuya Takeyama Date: Mon, 27 Oct 2014 01:34:16 +0900 Subject: [PATCH 2/4] Add Authors --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index bf1b1d3..b7f8c4e 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,9 @@ $classifier->isCrawler($str); // boolean ## Authors +* k-holy +* okonomi +* TAGOMORI Satoshi * Yuya Takeyama ## License From c6d879800bb41f12f485a1897bf6a6b4d696d6e7 Mon Sep 17 00:00:00 2001 From: Yuya Takeyama Date: Mon, 27 Oct 2014 01:44:00 +0900 Subject: [PATCH 3/4] Change composer version specification --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 7897724..a8706f3 100644 --- a/composer.json +++ b/composer.json @@ -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/" } From a2b3b9fc693e04f338e149abfc062b429476bb17 Mon Sep 17 00:00:00 2001 From: Yuya Takeyama Date: Mon, 27 Oct 2014 01:59:53 +0900 Subject: [PATCH 4/4] Write Installation section in README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b7f8c4e..2f57196 100644 --- a/README.md +++ b/README.md @@ -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