PHPackages                             amranidev/laracombee - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amranidev/laracombee

ActiveLaravel-package[Utility &amp; Helpers](/categories/utility)

amranidev/laracombee
====================

Recommendation system for laravel

v0.2.3(2y ago)11636.7k—10%91MITPHP

Since Nov 1Pushed 1y ago4 watchersCompare

[ Source](https://github.com/amranidev/laracombee)[ Packagist](https://packagist.org/packages/amranidev/laracombee)[ RSS](/packages/amranidev-laracombee/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (22)Used By (1)

 [![](https://camo.githubusercontent.com/d15744fcdf512c9cf02012f49402004aac7d35fe31bf54c642387ae90d84a33a/68747470733a2f2f692e696d6775722e636f6d2f4a4f4e6a6b33372e6a7067)](https://camo.githubusercontent.com/d15744fcdf512c9cf02012f49402004aac7d35fe31bf54c642387ae90d84a33a/68747470733a2f2f692e696d6775722e636f6d2f4a4f4e6a6b33372e6a7067)

 [ ![StyleCI](https://camo.githubusercontent.com/6c098c531bc232c9f5214b2978397da8b7496b15b27b62248d7054ad1eb21203/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134343333373532332f736869656c643f6272616e63683d6d6173746572) ](https://github.styleci.io/repos/144337523) [ ![Build Status](https://github.com/amranidev/laracombee/actions/workflows/tests.yml/badge.svg) ](https://github.com/amranidev/micro-bus/actions) [ ![Version stable](https://camo.githubusercontent.com/495be491f8b3e3d352977eff62832f0a2135a66ccd191201c51012aee1970491/68747470733a2f2f706f7365722e707567782e6f72672f616d72616e696465762f6c617261636f6d6265652f762f737461626c65) ](https://packagist.org/packages/amranidev/laracombee) [ ![un-Version](https://camo.githubusercontent.com/955a1fe7a6f9102a47bc45af483bb4fbd5fb2fe57ff12f3bf08cce937d521846/68747470733a2f2f706f7365722e707567782e6f72672f616d72616e696465762f73636166666f6c642d696e746572666163652f6c6963656e7365) ](https://packagist.org/packages/amranidev/laracombee) [![Laravel](https://camo.githubusercontent.com/5dc33dc453936987e8423b2e93ebdb1955ecc7187cc664824ca4a957aecb85c2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c74253230666f722d6c61726176656c2d626c75652e737667)](http://laravel.com)

Introduction.
=============

[](#introduction)

Larcombee is a [Recombee](https://recombee.com) API package for Laravel, it provides a simple API implementation, to get recommendations based on the user's behaviours and interests, whatever you build using Laravel, an e-commerce, music marketplace or movies platform, a recommendation system is a must, that way you can guarantee users will spend more time on your platform.

What is Recombee?
=================

[](#what-is-recombee)

An artificial Intelligence powered recommendation system service with an intuitive RESTful API &amp; SDKs tailored by data scientists.

Want to know more about how it works? check this following [link](https://medium.com/recombee-blog/recommender-systems-explained-d98e8221f468).

Getting started.
================

[](#getting-started)

1. Install Laracombee:

`composer require amranidev/laracombee`

2. Add the service provider and the alias to config/app.php:

```
// Service provider.
Amranidev\Laracombee\Providers\LaracombeeServiceProvider::class,

// Alias.
'Laracombee' => Amranidev\Laracombee\Facades\LaracombeeFacade::class,
```

3. Create a new instance in [recombee.com](https://www.recombee.com/)
4. Add `databaseId` and `token` to `config/laracombee.php` in your project.

Congratulations, you have successfully installed Laracombee!

Usage.
======

[](#usage)

With Laracombe, the integration of your data is simple, as you may know, Recombee used the user-item based database to predict recommendation based on users interests and interactions, so, you have to address which Laravel eloquent model you want to use as user as well as item.

Go to `App\User` and add `$laracombee` that you want to be migrated to Recombee db and do the same for `item`.

> Note: $laracombee property should always be static.

```
