Skip to content

YuzuruS/redis-recommend

Repository files navigation

Simple Recommendation library for Redis and PHP

Coverage Status Build Status Stable Version Download Count License

Abstracting Redis's Sorted Set APIs and PHP to use as a recommending system.
This Recommendation algorithm use Collaborative Filtering, especially Jaccard coefficient

This Recommendation algorithm is used by Amazon.com

Amazon

Please check here for details.

Requirements

Installation

  • Using composer
{
    "require": {
       "yuzuru-s/redis-recommend": "1.0.*"
    }
}
$ php composer.phar update yuzuru-s/redis-recommend --dev

How to use

Please check sample code

How to run unit test

Run with default setting.

% vendor/bin/phpunit -c phpunit.xml.dist

Currently tested with PHP 7.2.0 + Redis 2.6.12.

History

  • 1.0.10
    • support php7.2
  • 1.0.9
    • unsupport HHVM
  • 1.0.8
    • support HHVM
  • 1.0.7
    • support php7.1
  • 1.0.6
    • bug fix
  • 1.0.5
    • supports travis CI and passed test and display code coverage.
  • 1.0.0
    • Published

License

Copyright (c) 2017 YUZURU SUZUKI. See MIT-LICENSE for further details.

Copyright