PHPackages                             faysal0x1/recommendation-module - 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. faysal0x1/recommendation-module

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

faysal0x1/recommendation-module
===============================

AI-ready recommendation engine module for Laravel storefronts.

1.0.2(5mo ago)013MITPHPPHP ^8.2

Since Jan 11Pushed 5mo agoCompare

[ Source](https://github.com/faysal0x1/recommendation-module)[ Packagist](https://packagist.org/packages/faysal0x1/recommendation-module)[ RSS](/packages/faysal0x1-recommendation-module/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Recommendation Module
=====================

[](#recommendation-module)

A plug-and-play recommendation engine module for Laravel apps. It tracks product views, logs impressions, and exposes APIs for upsell, cross-sell, most viewed, most purchased, etc. Built on [nwidart/laravel-modules](https://github.com/nWidart/laravel-modules).

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

[](#installation)

```
composer require nwidart/laravel-modules
composer require joshbrw/laravel-module-installer
composer require faysal0x1/recommendation-module
php artisan module:enable Recommendation
php artisan migrate

```

Optional: schedule the recompute command

```
php artisan recommendation:recompute

```

Features
--------

[](#features)

- Multiple algorithms (upsell, cross-sell, most viewed, most purchased, previously viewed, FBT)
- Middleware to track product views (`track.product.view`)
- REST API endpoints under `routes/api.php`

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance70

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

173d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64875731?v=4)[MD. Faysal Rahman](/maintainers/faysal0x1)[@faysal0x1](https://github.com/faysal0x1)

---

Top Contributors

[![faysal0x1](https://avatars.githubusercontent.com/u/64875731?v=4)](https://github.com/faysal0x1 "faysal0x1 (3 commits)")

---

Tags

laravelmodulerecommendation

### Embed Badge

![Health badge](/badges/faysal0x1-recommendation-module/health.svg)

```
[![Health](https://phpackages.com/badges/faysal0x1-recommendation-module/health.svg)](https://phpackages.com/packages/faysal0x1-recommendation-module)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
