PHPackages                             ggggino/recenty-bundle - 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. ggggino/recenty-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

ggggino/recenty-bundle
======================

Bundle to facilitate the 'recently use of something'

v1.0.2(5y ago)010MITPHPPHP ^7.2 || ^8.0

Since Jan 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/GGGGino/RecentyBundle)[ Packagist](https://packagist.org/packages/ggggino/recenty-bundle)[ Docs](https://contao.org)[ RSS](/packages/ggggino-recenty-bundle/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (6)Versions (3)Used By (0)

recenty-bundle
==============

[](#recenty-bundle)

Bundle that automize the favourite entity usage.

This bundle answer aim to resolve the question, how many times this thing is used.

Install
-------

[](#install)

```
composer require ggggino/recenty-bundle
```

Configuration
-------------

[](#configuration)

services.yaml

```
services:
    ...
    GGGGino\RecentyBundle\Storage\StorageVolatile:
        shared: false

    app.strategy.desc:
        class: GGGGino\RecentyBundle\Strategy\StrategyDesc
        shared: false
        arguments: ['@GGGGino\RecentyBundle\Storage\StorageVolatile']

    app.strategy.asc:
        class: GGGGino\RecentyBundle\Strategy\StrategyAsc
        shared: false
        arguments: ['@GGGGino\RecentyBundle\Storage\StorageVolatile']
```

> `shared: false` permit to instantiate a object every time it is called

recenty\_bundle.yaml

```
ggggino_recenty:
  clients:
    main:
      class: 'app.strategy.desc'
    slave:
      class: 'app.strategy.asc'
```

You can use as many client you like.

Usage
-----

[](#usage)

```
use GGGGino\RecentyBundle\WrapperManager;

/**
 * @Route("/default", name="default")
 */
public function index(WrapperManager $wrapperManager): Response
{
    $strategies = $wrapperManager->getStrategies();

    /** @var Product $product */
    $product = $em->getRepository(Product::class)->find(1);

    try {
        $wrapperManager->increment('main', new WrapperGenericEntity($product, 'bought', 2));
    } catch (EntityNotValidException $e) {
        return $this->json([
            'message' => 'Wrapper not generable!'
        ], 500);
    }

    return $this->json([
        'message' => 'Welcome to your new controller!'
    ]);
}
```

Reference
---------

[](#reference)

### Strategies

[](#strategies)

Strategy is the way a Entity will be stored and retrivied

### Storages

[](#storages)

Storage is the place where the Entity will be stored

Contribute
----------

[](#contribute)

#### Test

[](#test)

`./vendor/bin/simple-phpunit`

TODO
----

[](#todo)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2

Last Release

1955d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71ba17da078527d84402fef98be186df83af523d0896e98907904efea4336b5d?d=identicon)[ggggino](/maintainers/ggggino)

---

Top Contributors

[![GGGGino](https://avatars.githubusercontent.com/u/3227441?v=4)](https://github.com/GGGGino "GGGGino (18 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ggggino-recenty-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ggggino-recenty-bundle/health.svg)](https://phpackages.com/packages/ggggino-recenty-bundle)
```

###  Alternatives

[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[mapbender/mapbender

Mapbender library

10117.4k5](/packages/mapbender-mapbender)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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