PHPackages                             thelia/recently-viewed-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. thelia/recently-viewed-module

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

thelia/recently-viewed-module
=============================

Show recently viewed products.

1.2.1(5y ago)11.4k41LGPL-3.0+PHPCI passing

Since Feb 27Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/thelia-modules/RecentlyViewed)[ Packagist](https://packagist.org/packages/thelia/recently-viewed-module)[ RSS](/packages/thelia-recently-viewed-module/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (7)Used By (1)

RecentlyViewed
==============

[](#recentlyviewed)

Show recently viewed products.

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/RecentlyViewed` directory and be sure that the name of the module is RecentlyViewed.
- Activate it in your thelia administration panel

### Composer

[](#composer)

```
$ composer require thelia/recently-viewed-module ~1.2.0

```

Usage
-----

[](#usage)

To use recently viewed products you can use Smarty function or Loop

You can modify maximum value in RecentlyViewed.php (default value : 8)

Smarty
------

[](#smarty)

exemple :

```
{get_recently_viewed productId=$product_id}

```

result : "2,18,19,65"

Loop
----

[](#loop)

recentlyviewed

this loop extends default Product Loop.

**@see** :

### Input arguments

[](#input-arguments)

ArgumentDescription**current\_product**current product id doesn't show in loop results### Exemple

[](#exemple)

```
{loop type="recentlyviewed" name="recentlyviewed_loop" current_product=$product_id limit="4"}
    {$TITLE} ({$REF})
{/loop}

```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance61

Regular maintenance activity

Popularity24

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~688 days

Total

4

Last Release

2080d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (4 commits)")[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (2 commits)")[![lunika](https://avatars.githubusercontent.com/u/767834?v=4)](https://github.com/lunika "lunika (2 commits)")[![anoziere](https://avatars.githubusercontent.com/u/118798868?v=4)](https://github.com/anoziere "anoziere (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-recently-viewed-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-recently-viewed-module/health.svg)](https://phpackages.com/packages/thelia-recently-viewed-module)
```

PHPackages © 2026

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