PHPackages                             gisostallenberg/bitwise-constant-calculator - 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. gisostallenberg/bitwise-constant-calculator

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

gisostallenberg/bitwise-constant-calculator
===========================================

Calculates the value of bitwise operations on a list of constants

1.0.0(9y ago)082MITPHP

Since Feb 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/gisostallenberg/bitwise-constant-calculator)[ Packagist](https://packagist.org/packages/gisostallenberg/bitwise-constant-calculator)[ RSS](/packages/gisostallenberg-bitwise-constant-calculator/feed)WikiDiscussions master Synced 2mo ago

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

Bitwise Constant Calculator
===========================

[](#bitwise-constant-calculator)

Calculates the value of bitwise operations on a list of constants

Installation
------------

[](#installation)

```
composer require gisostallenberg/bitwise-constant-calculator
```

Usage examples
--------------

[](#usage-examples)

```
use GisoStallenberg\BitwiseConstantCalculator\BitwiseConstantCalculator;

$result = BitwiseConstantCalculator::create()
            ->calculate("E_ALL | E_STRICT");
($result === E_ALL | E_STRICT); // true
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3366d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ea7c6acad608c13a090d72dc45f02ef149d8e41b16c671ee221baf7d1e977d7?d=identicon)[gisostallenberg](/maintainers/gisostallenberg)

---

Top Contributors

[![gisostallenberg](https://avatars.githubusercontent.com/u/11526270?v=4)](https://github.com/gisostallenberg "gisostallenberg (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gisostallenberg-bitwise-constant-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/gisostallenberg-bitwise-constant-calculator/health.svg)](https://phpackages.com/packages/gisostallenberg-bitwise-constant-calculator)
```

PHPackages © 2026

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