PHPackages                             lorik/fortune\_number - 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. lorik/fortune\_number

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

lorik/fortune\_number
=====================

Example Project assignment to count visitors of the page

v1.0.1(3y ago)011GPL-2.0-or-laterPHP

Since Mar 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lorik-balorik/fortune_number)[ Packagist](https://packagist.org/packages/lorik/fortune_number)[ RSS](/packages/lorik-fortune-number/feed)WikiDiscussions main Synced yesterday

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

```
This module is an assignment.

It has two separate blocks:
  1) show visitors counter, which is stored in a file (CountVisitorsInFileBlock.php);
  2) show visitors counter, which is stored in a DB table (CountVisitorsInDBBlock.php).

To install package run "$ composer require lorik/fortune_number" in your console.
Then go to http://assignment.test/web/admin/modules and install module via name 'Fortune Number Module'.
After that go to http://assignment.test/web/admin/structure/block/list/olivero and enable blocks 'Count Visitors in DB Block' or 'Count Visitors in a File Block' to your page path or '/indexAction/page' (path for this module controller).
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

1195d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bc90d915597ff6e8445da3f7180902399c9f1c6061e305541c9544eb07d9fb1?d=identicon)[lorik-balorik](/maintainers/lorik-balorik)

---

Top Contributors

[![lorik-balorik](https://avatars.githubusercontent.com/u/25707385?v=4)](https://github.com/lorik-balorik "lorik-balorik (4 commits)")

### Embed Badge

![Health badge](/badges/lorik-fortune-number/health.svg)

```
[![Health](https://phpackages.com/badges/lorik-fortune-number/health.svg)](https://phpackages.com/packages/lorik-fortune-number)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.1k1](/packages/farmos-farmos)[emulsify-ds/emulsify-drupal

The official Drupal theme for Emulsify, with Storybook and a Vite-based build workflow for generated child themes

96556.4k2](/packages/emulsify-ds-emulsify-drupal)

PHPackages © 2026

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