PHPackages                             tchoulom/view-counter-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. tchoulom/view-counter-bundle

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

tchoulom/view-counter-bundle
============================

The "View Counter" bundle

6.1.5(1y ago)1731.3k↓50%11[3 PRs](https://github.com/tchoulom/ViewCounterBundle/pulls)MITPHPPHP &gt;=8.0.2

Since Oct 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/tchoulom/ViewCounterBundle)[ Packagist](https://packagist.org/packages/tchoulom/view-counter-bundle)[ RSS](/packages/tchoulom-view-counter-bundle/feed)WikiDiscussions master Synced 1mo ago

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

The View Counter Bundle
=======================

[](#the-view-counter-bundle)

Welcome to the "**TchoulomViewCounterBundle**".

This bundle is used to count the number of views of web pages (the viewership).

This bundle can also be used to draw a graphical representation of statistical data of the web pages.

[![Monthly views in 2018](https://raw.githubusercontent.com/tchoulom/ViewCounterBundle/master/Resources/doc/images/monthly-views-2018.png)](https://raw.githubusercontent.com/tchoulom/ViewCounterBundle/master/Resources/doc/images/monthly-views-2018.png)

**Table of contents**

- [Features include](#features-include)
- [Documentation](#documentation)
- [Installation](Resources/doc/readme/installation.md#installation)
    - [Step 1: Download TchoulomViewCounterBundle using composer](Resources/doc/readme/installation.md#step-1-download-tchoulomviewcounterbundle-using-composer)
    - [Step 2: Enable the Bundle](Resources/doc/readme/installation.md#step-2-enable-the-bundle)
- [Usage](Resources/doc/readme/usage-step-1-5.md#usage)
    - [Step 1: Interface and Property](Resources/doc/readme/usage-step-1-5.md#step-1-interface-and-property)
    - [Step 2: ViewCounter](Resources/doc/readme/usage-step-1-5.md#step-2-viewcounter)
    - [Step 3: Configuration](Resources/doc/readme/usage-step-1-5.md#step-3-configuration)
        - [The "view\_counter"](Resources/doc/readme/usage-step-1-5.md#the-view_counter)
        - [The "statistics"](Resources/doc/readme/usage-step-1-5.md#the-statistics)
    - [Step 4: The Controller](Resources/doc/readme/usage-step-1-5.md#step-4-the-controller)
        - [Method 1](Resources/doc/readme/usage-step-1-5.md#method-1)
        - [Method 2](Resources/doc/readme/usage-step-1-5.md#method-2)
    - [Step 5: The View](Resources/doc/readme/usage-step-1-5.md#step-5-the-view)
    - [Step 6: The Geolocation](Resources/doc/readme/geolocation.md#step-6-the-geolocation)
    - [Step 7: Use of statistical data](Resources/doc/readme/statistics-finder.md#step-7-use-of-statistical-data)
        - [The *FileStatsFinder* service](Resources/doc/readme/statistics-finder.md#the-filestatsfinder-service)
            - [Get the *yearly* statistics](Resources/doc/readme/statistics-finder.md#get-the-yearly-statistics)
            - [Get the *monthly* statistics](Resources/doc/readme/statistics-finder.md#get-the-monthly-statistics)
            - [Get the *weekly* statistics](Resources/doc/readme/statistics-finder.md#get-the-weekly-statistics)
            - [Get the *daily* statistics](Resources/doc/readme/statistics-finder.md#get-the-daily-statistics)
            - [Get the *hourly* statistics](Resources/doc/readme/statistics-finder.md#get-the-hourly-statistics)
            - [Get the statistics *per minute*](Resources/doc/readme/statistics-finder.md#get-the-statistics-per-minute)
            - [Get the statistics *per second*](Resources/doc/readme/statistics-finder.md#get-the-statistics-per-second)
            - [Search for geolocation data](Resources/doc/readme/statistics-finder.md#search-for-geolocation-data)
        - [Build a graph with "Google Charts"](Resources/doc/readme/graph-google-charts.md#build-a-graph-with-google-charts)
        - [The *StatsComputer* service](Resources/doc/readme/statistics-computer.md#the-statscomputer-service)
            - [Calculates the *min value*](Resources/doc/readme/statistics-computer.md#calculates-the-min-value)
            - [Calculates the *max value*](Resources/doc/readme/statistics-computer.md#calculates-the-max-value)
            - [Calculates the *average*](Resources/doc/readme/statistics-computer.md#calculates-the-average)
            - [Calculates the *range*](Resources/doc/readme/statistics-computer.md#calculates-the-range)
            - [Calculates the *mode*](Resources/doc/readme/statistics-computer.md#calculates-the-mode)
            - [Calculates the *median*](Resources/doc/readme/statistics-computer.md#calculates-the-median)
            - [Count the number of values ​​in the statistical series](Resources/doc/readme/statistics-computer.md#count-the-number-of-values-in-the-statistical-series)
- [Tools](Resources/doc/readme/tools-command-cleanup.md#tools)
    - [Command](Resources/doc/readme/tools-command-cleanup.md#command)
        - [Cleanup ViewCounter data](Resources/doc/readme/tools-command-cleanup.md#cleanup-viewcounter-data)
        - [Converts ViewCounter entities to statistical data](Resources/doc/readme/tools-command-stats-converter.md#converts-viewcounter-entities-to-statistical-data)
- [Original Credits](#original-credits)
- [License](#license)

Features include
================

[](#features-include)

```
- Viewcounter
- Statistics
- Geolocation

```

Documentation
=============

[](#documentation)

[The ViewCounter documentation](https://github.com/tchoulom/ViewCounterBundle)

Original Credits
================

[](#original-credits)

Created by Ernest TCHOULOM

License
=======

[](#license)

This bundle is released under the MIT license. See the complete license in the bundle:

```
LICENSE

```

Enjoy!

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96.7% 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 ~35 days

Recently: every ~174 days

Total

73

Last Release

555d ago

Major Versions

1.4.6 → 2.0.02019-01-29

2.5.0 → 3.0.62019-06-17

3.7.3 → 4.0.02020-06-28

4.5.2 → 5.0.02020-12-09

5.7.0 → 6.0.02022-02-16

PHP version history (3 changes)1.0.0PHP &gt;=5.5.9

4.0.0PHP &gt;=7.2.5

6.0.0PHP &gt;=8.0.2

### Community

Maintainers

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

---

Top Contributors

[![tchoulom](https://avatars.githubusercontent.com/u/8807785?v=4)](https://github.com/tchoulom "tchoulom (87 commits)")[![apsylone](https://avatars.githubusercontent.com/u/2072877?v=4)](https://github.com/apsylone "apsylone (1 commits)")[![ernestwisniewski](https://avatars.githubusercontent.com/u/10058784?v=4)](https://github.com/ernestwisniewski "ernestwisniewski (1 commits)")[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (1 commits)")

---

Tags

statisticsGoogle Chartsview countpage viewsview counterview counter interfaceview counter bundleCount the number of views of a pagepages views counterviewership measurementpage view countstatistics of web pagesviewershipview counter symfonystatistics bundlestatistics symfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tchoulom-view-counter-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tchoulom-view-counter-bundle/health.svg)](https://phpackages.com/packages/tchoulom-view-counter-bundle)
```

###  Alternatives

[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.1M40](/packages/markrogoyski-math-php)[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2751.4M5](/packages/rubix-tensor)[hi-folks/statistics

PHP package that provides functions for calculating mathematical statistics of numeric data.

398103.5k](/packages/hi-folks-statistics)[oefenweb/statistics

Statistics library for PHP

33400.7k1](/packages/oefenweb-statistics)[richjenks/stats

Statistics library for non-statistical people

23149.0k1](/packages/richjenks-stats)

PHPackages © 2026

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