Skip to content

gorse-io/php-gorse

Repository files navigation

php-gorse

PHP SDK for Gorse recommender system.

CI Packagist Version Packagist Downloads

Install

Install via composer:

composer require gorse/php-gorse

Usage

Insert feedback and get recommendations:

$client = new Gorse("http://127.0.0.1:8088/", "api_key");

$rowsAffected = $client->insertFeedback([
    new Feedback("read", "10", "3", "2022-11-20T13:55:27Z"),
    new Feedback("read", "10", "4", "2022-11-20T13:55:27Z"),
]);

$client->getRecommend('10');

About

PHP SDK for gorse recommender system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages