Download the PHP package amranidev/laracombee without Composer

On this page you can find all versions of the php package amranidev/laracombee. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laracombee

Laracombee

StyleCI Build Status Latest Stable Version License Laravel

Laracombee

Laracombee is a Laravel package for the Recombee recommendation API. It provides a simple Laravel-friendly interface for working with users, items, user-item interactions, and recommendations.

This package is useful for applications such as e-commerce platforms, media libraries, and marketplaces where personalized recommendations can improve engagement and retention.

What is Recombee?

Recombee is an AI-powered recommendation service with a REST API and SDKs for building personalized recommendation systems.

To learn more about how Recombee works, see the official documentation:

Requirements

Installation

Install the package with Composer:

Laravel package discovery will register the service provider automatically.

If you want to publish the configuration file, run:

Then add your Recombee database ID and private token to config/laracombee.php.

Configuration

Set your default user and item models in config/laracombee.php:

These classes are used by the package commands.

You can also configure:

Defining Recombee Properties

Each model that should be synchronized with Recombee must define a static $laracombee property.

Do the same for your item model.

Usage

Add a user

Add multiple users in a batch

Recommend items to a user

Unlike most other methods in the package, recommendation methods trigger the request immediately and return a promise directly.

Commands

Laracombee includes several Artisan commands for managing your Recombee schema and data.

Migrate properties

These commands read the static $laracombee property from the configured model and create the corresponding Recombee properties.

Roll back properties

Seed existing records

You can also set a custom chunk size:

Add or drop properties manually

Reset the Recombee database

This command permanently removes all Recombee data, including users, items, properties, ratings, detail views, purchases, bookmarks, and series data. Do not run it in production unless you explicitly intend to wipe the Recombee database.

Generate a custom Laracombee class

This creates a new class in app/Laracombee.

Available Methods

Laracombee generally follows Recombee naming conventions.

Users

Items

User-item interactions

Recommendations

Series

Utility

Extending the Package

If you want to tailor the behavior of the package, you can extend AbstractRecombee and implement your own send() method.

This is useful if you want to customize error handling, request flow, or database targeting.

Multiple Recombee Databases

You can create additional Laracombee-style classes if you need to work with multiple Recombee databases from the same application.

The built-in generator can help you scaffold those classes:

Contributing

Thank you for considering contributing to the project. Please read the contribution guide.

License

This package is open-sourced software licensed under the MIT license.


All versions of laracombee with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
recombee/php-api-client Version ^4.0
guzzlehttp/guzzle Version ^7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amranidev/laracombee contains the following files

Loading the files please wait ...