PHPackages                             ant-hill/bitmap - 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. ant-hill/bitmap

ActiveLibrary

ant-hill/bitmap
===============

06.7k↓50%PHP

Since Aug 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ant-hill/bitmap)[ Packagist](https://packagist.org/packages/ant-hill/bitmap)[ RSS](/packages/ant-hill-bitmap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

bitmap
======

[](#bitmap)

Simple library allows add, delete, check bits by offset. In offset could be in range of 0 to PHP\_INT\_MAX

Simple usage:

```
    $bitMapOffset = new BitMapOffset(4,/* Chunk size, max size for correct work is (PHP_INT_SIZE*8)-1 */);
    $bitMapArray =  new BitMapArray($bitMapOffset,[] /* BitMap Array */);

    $bitMapArray->add(3); // Add set 3rd bit at 1
    $bitMapArray->has(3); // Check for 3rd bit is set
    $bitMapArray->del(3); // Delete 3rd bit if exists
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9b121ad91a3f5bfddd5cc550a799e0afa2c6f015453d4f362153f1be1cf30e8?d=identicon)[ant-hill](/maintainers/ant-hill)

---

Top Contributors

[![yollatoken](https://avatars.githubusercontent.com/u/24437647?v=4)](https://github.com/yollatoken "yollatoken (2 commits)")[![ant-hill](https://avatars.githubusercontent.com/u/3014504?v=4)](https://github.com/ant-hill "ant-hill (1 commits)")

### Embed Badge

![Health badge](/badges/ant-hill-bitmap/health.svg)

```
[![Health](https://phpackages.com/badges/ant-hill-bitmap/health.svg)](https://phpackages.com/packages/ant-hill-bitmap)
```

PHPackages © 2026

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