PHPackages                             lightfm/lightfm-php - 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. lightfm/lightfm-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lightfm/lightfm-php
===================

PHP port of the LightFM Python library using FFI bindings to C implementation for hybrid recommender systems

v1.0.0(10mo ago)02Apache-2.0PHPPHP &gt;=8.0

Since Jul 1Pushed 10mo agoCompare

[ Source](https://github.com/DaikiOnodera/lightfm-php)[ Packagist](https://packagist.org/packages/lightfm/lightfm-php)[ RSS](/packages/lightfm-lightfm-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

LightFM PHP
===========

[](#lightfm-php)

PHP port of the LightFM Python library using FFI bindings to C implementation for hybrid recommender systems.

Installation
------------

[](#installation)

Install via Composer:

```
composer require lightfm/lightfm-php
```

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- FFI extension enabled
- The bundled C library (`liblightfm.so`)

Usage
-----

[](#usage)

```
