PHPackages                             imoca/count-min-sketch - 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. imoca/count-min-sketch

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

imoca/count-min-sketch
======================

A count min sketch implementation store on disk.

v1.0.0(5y ago)05[1 issues](https://github.com/ledainbrice/countminsketch/issues)[1 PRs](https://github.com/ledainbrice/countminsketch/pulls)MITPHP

Since Aug 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ledainbrice/countminsketch)[ Packagist](https://packagist.org/packages/imoca/count-min-sketch)[ RSS](/packages/imoca-count-min-sketch/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

countminsketch
==============

[](#countminsketch)

Light Count Min Sketch implementation with storing on disk really fast.

Installation via Composer
-------------------------

[](#installation-via-composer)

The recommended method to install is through [Composer](http://getcomposer.org).

1. Add `imoca/countminsketch` as a dependency in your project's `composer.json` file:

    ```
        {
            "require": {
                "imoca/countminsketch": "*"
            }
        }
    ```

API
---

[](#api)

```
    $cms = new Imoca\CountMinSketch\CountMinSketch($nb_hash, $nb_width, 'path_to_file_store');
    $cms->record("word_to_insert");
    $counter = $cms->count("word_to_count");

    echo $cms; //working

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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

Unknown

Total

1

Last Release

2138d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/46358780?v=4)[Ioana Moca](/maintainers/imoca)[@iMoca](https://github.com/iMoca)

---

Top Contributors

[![ledainbrice](https://avatars.githubusercontent.com/u/16131056?v=4)](https://github.com/ledainbrice "ledainbrice (10 commits)")[![imocaterra](https://avatars.githubusercontent.com/u/76164695?v=4)](https://github.com/imocaterra "imocaterra (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imoca-count-min-sketch/health.svg)

```
[![Health](https://phpackages.com/badges/imoca-count-min-sketch/health.svg)](https://phpackages.com/packages/imoca-count-min-sketch)
```

###  Alternatives

[adbario/php-dot-notation

PHP dot notation access to arrays

4629.5M209](/packages/adbario-php-dot-notation)[internetgalerie/ig-slug

Rebuild URL slugs

12899.9k3](/packages/internetgalerie-ig-slug)[zf-hipsters/bootstrap-flash-messenger

Simple implementation of ZF2 flash messengers using bootstrap. Contains easy helpers that will save you a LOT of time.

159.5k](/packages/zf-hipsters-bootstrap-flash-messenger)

PHPackages © 2026

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