PHPackages                             fluffy-factory/user-stats-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. fluffy-factory/user-stats-bundle

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

fluffy-factory/user-stats-bundle
================================

User stats Bundle

1.3.4.1(3y ago)72814MITPHPPHP &gt;=8.0

Since Oct 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/fluffy-factory/user-stats-bundle)[ Packagist](https://packagist.org/packages/fluffy-factory/user-stats-bundle)[ Docs](https://github.com/fluffy-factory/user-stats-bundle)[ RSS](/packages/fluffy-factory-user-stats-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (10)DependenciesVersions (31)Used By (0)

User stats
==========

[](#user-stats)

[![screenshot](Resources/docs/images/screenshot.png)](Resources/docs/images/screenshot.png)

Introduction
------------

[](#introduction)

You need to require Symfony 4.\* or 5.\* for use this bundle. (and Easyadmin 3.\* for the easier installation)

### 🚨 Disclaimer

[](#rotating_light-disclaimer)

This bundle retrieves user information. You must ask permission from your users to use this bundle legally. Any negligence in the strict application of the recommended procedures relieves us of all responsibility for their use.

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

[](#installation)

```
composer require fluffy-factory/user-stats-bundle

```

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

[](#configuration)

You can create your own configuration in `config/packages/fluffy_user_stats.yaml`:

```
user_stats:
  exclude_route: ["liip_imagine_filter"]
  user_stat_enabled: true
  max_month_before_archive: 6
  user_stat_max_result: 2000
```

### Entity

[](#entity)

Add mixin Class `use UserStats` in your User entity

```
class User
{
    ### ADD THIS ###
    use UserStats;

    ...
}
```

Make a database schema update

```
php bin/console d:s:u --force

```

Install assets

```
php bin/console assets:install

```

### Routing

[](#routing)

Create routes file `config/routes/fluffy_user_stats.yaml` with the below config:

```
fluffy_user_stats:
  resource: "@UserStatsBundle/Controller/UserStatsController.php"
  type: annotation
  # prefix: /admin
```

### Archive

[](#archive)

If you have a lot of users and the data table is getting too big; you can archive your data older than 6 months (by default) in a data table named **user\_stats\_lines\_archives**.

To archive you need to use the command `make:user:stats:archive`

You can change the number of months archived :

```
# config/packages/fluffy_user_stats.yaml
user_stats:
    # number of months before the data is archived
    max_month_before_archive: 6
```

Integration
-----------

[](#integration)

### Easyadmin 3.\*

[](#easyadmin-3)

Add custom actions in your entity configuration

```
$userStats = Action::new('userStats', 'Statistiques utilisateur')
    ->linkToRoute('fluffy_user_stats', function (User $entity) {
       return [
           'id' => $entity->getId()
       ];
    });

return parent::configureActions($actions)
    ->add(Crud::PAGE_INDEX, $userStats)
        ->setPermission('userStats', 'ROLE_SUPER_ADMIN');
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 61.8% 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 ~27 days

Recently: every ~32 days

Total

29

Last Release

1289d ago

Major Versions

0.1 → 1.02020-10-06

PHP version history (2 changes)0.1PHP &gt;=7.2.0

1.3PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecf6da367c21173bf2387a7f376a29f73686987d5c0657313a3d82ea72b1c590?d=identicon)[devcut](/maintainers/devcut)

---

Top Contributors

[![devcut](https://avatars.githubusercontent.com/u/12175420?v=4)](https://github.com/devcut "devcut (55 commits)")[![DeusExM](https://avatars.githubusercontent.com/u/64694675?v=4)](https://github.com/DeusExM "DeusExM (31 commits)")[![bghosts](https://avatars.githubusercontent.com/u/56561884?v=4)](https://github.com/bghosts "bghosts (3 commits)")

---

Tags

easyadminhacktoberfeststatisticssymfonyusersymfonybundleuserstats

### Embed Badge

![Health badge](/badges/fluffy-factory-user-stats-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fluffy-factory-user-stats-bundle/health.svg)](https://phpackages.com/packages/fluffy-factory-user-stats-bundle)
```

###  Alternatives

[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18168.6k](/packages/ekreative-uuid-extra-bundle)[bornfreee/tactician-domain-events-bundle

Bundle to integrate Tactician Domain Events library with Symfony project

10138.6k](/packages/bornfreee-tactician-domain-events-bundle)

PHPackages © 2026

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