Download the PHP package mmedia/laravel-collaborative-filtering without Composer
On this page you can find all versions of the php package mmedia/laravel-collaborative-filtering. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mmedia/laravel-collaborative-filtering
More information about mmedia/laravel-collaborative-filtering
Files in mmedia/laravel-collaborative-filtering
Package laravel-collaborative-filtering
Short Description Simple trait to add collaborative filtering to your models
License MIT
Homepage https://github.com/mmedia/laravel-collaborative-filtering
Informations about the package laravel-collaborative-filtering
Very short description of the package
Get related models for the current model. Commonly used for "similar products" sections.
Installation
You can install the package via composer:
Usage
Imagine you have a model called Product
, and each product has multiple ProductCategory
records. You want to find products related to each other based on how many common categories they have (a.k.a using collaborative filtering). To do so, you can define a relationship in your Product
model.
Based on the article from arctype.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- M Media
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.