PHPackages                             xaraya/hitcount - 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. xaraya/hitcount

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

xaraya/hitcount
===============

Count displays of module items

2.9.5(5mo ago)0821GPL-2.0-or-laterPHP

Since Apr 15Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/xaraya-modules/hitcount)[ Packagist](https://packagist.org/packages/xaraya/hitcount)[ Docs](https://github.com/xaraya-modules/hitcount)[ RSS](/packages/xaraya-hitcount/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (1)

Overview
--------

[](#overview)

### What is it?

[](#what-is-it)

*The Hitcount module is a simple utility module to count the number of hits on an item.* It is currently responsible for accomplishing these tasks:

- Collects and displays hit detail on items in Xaraya.

### How to use it?

[](#how-to-use-it)

Simply set the configuration as you would like, and the hitcount module will begin collecting data on the hooked items or properties that you configure.

### Included Blocks

[](#included-blocks)

There are no included blocks

### Included Hooks

[](#included-hooks)

The hitcount module must be hooked into the items that you want to count up.

### Included Properties

[](#included-properties)

Or you can add the Hit Count property directly to your dynamic data objects. In this case the showOutput method wil show the number of hits. and the showInput method will show a textbox that lets you change the number of hits (cheating). In all cases the coordinates of the page are stored as module/itemtype/itemid. For dataobjects this will mean module = 182 and itemtype = objectid - 1.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance73

Regular maintenance activity

Popularity9

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Recently: every ~11 days

Total

8

Last Release

154d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1447115?v=4)[Mike's Pub](/maintainers/mikespub)[@mikespub](https://github.com/mikespub)

---

Top Contributors

[![mikespub](https://avatars.githubusercontent.com/u/1447115?v=4)](https://github.com/mikespub "mikespub (65 commits)")[![mrvdb](https://avatars.githubusercontent.com/u/73067?v=4)](https://github.com/mrvdb "mrvdb (49 commits)")[![random777](https://avatars.githubusercontent.com/u/4590892?v=4)](https://github.com/random777 "random777 (37 commits)")

### Embed Badge

![Health badge](/badges/xaraya-hitcount/health.svg)

```
[![Health](https://phpackages.com/badges/xaraya-hitcount/health.svg)](https://phpackages.com/packages/xaraya-hitcount)
```

###  Alternatives

[jordanmiguel/laravel-popular

A Laravel package to track popularity of entries(by Models) in a website at a certain time.

659.6k1](/packages/jordanmiguel-laravel-popular)[jaaulde/php-ipv4

PHP classes for working with IPV4 addresses and networks.

1034.6k](/packages/jaaulde-php-ipv4)[ip2location/ip2location-cakephp

Lookup for visitor's IP information, such as country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type.

224.6k](/packages/ip2location-ip2location-cakephp)

PHPackages © 2026

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