PHPackages                             carlagouveia/bitset-php - 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. carlagouveia/bitset-php

ActiveLibrary

carlagouveia/bitset-php
=======================

bitset-php is a reimplementation of std::bitset that allows PHP to interface with C++.

1.0.1(1y ago)21.6k↑40%[1 issues](https://github.com/carlagouveia/bitset-php/issues)MITPHPCI failing

Since Oct 11Pushed 1y ago1 watchersCompare

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

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

bitset-php
==========

[](#bitset-php)

[![GitHub Workflow Status](https://camo.githubusercontent.com/fa6192ad4d735f869d8828024e4f3ed0e7475c8805c6cf30495c76cb0d054e01/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6361726c61676f75766569612f6269747365742d7068702f6275696c642e796d6c)](https://camo.githubusercontent.com/fa6192ad4d735f869d8828024e4f3ed0e7475c8805c6cf30495c76cb0d054e01/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6361726c61676f75766569612f6269747365742d7068702f6275696c642e796d6c)[![GitHub release](https://camo.githubusercontent.com/ac3b9bb7958123670ad301a0dd7d5491aaa6dc9e8a6a24084d8ddb39d8126f72/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6361726c61676f75766569612f6269747365742d7068702e737667)](https://github.com/carlagouveia/bitset-php/releases/latest)[![License](https://camo.githubusercontent.com/d12b0b847d62554b2f924ba1058a958c646869ba0e822779d2053b300112e39c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6361726c61676f75766569612f6269747365742d706870)](https://github.com/carlagouveia/bitset-php/blob/master/LICENSE)

bitset-php is a reimplementation of `std::bitset` that allows PHP to interface with C++. It aims to provide a stable interface instead of a full bitwise replacement.

Install
-------

[](#install)

```
$ composer require carlagouveia/bitset-php

```

Development
-----------

[](#development)

```
$ composer install
$ make test

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e724169309ae48ff8701736fe37319e1f6bc3ef07442da920c7215b2755b23e?d=identicon)[carlagouveia](/maintainers/carlagouveia)

---

Top Contributors

[![carlagouveia](https://avatars.githubusercontent.com/u/918519?v=4)](https://github.com/carlagouveia "carlagouveia (2 commits)")

---

Tags

bitsetcpp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/carlagouveia-bitset-php/health.svg)

```
[![Health](https://phpackages.com/badges/carlagouveia-bitset-php/health.svg)](https://phpackages.com/packages/carlagouveia-bitset-php)
```

PHPackages © 2026

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