PHPackages                             bingo-soft/heap - 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. bingo-soft/heap

ActiveLibrary

bingo-soft/heap
===============

PHP library containing heap implementations

v1.7.1(3y ago)02.7k↑291.3%2MITPHPPHP ^7.2 || ^8.0

Since Nov 15Pushed 3y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (3)Versions (10)Used By (2)

[![Latest Stable Version](https://camo.githubusercontent.com/7814e4fb0b0019d71e7f28ad8487425edacbca36d81af93da633b67c8b3deb2c/68747470733a2f2f706f7365722e707567782e6f72672f62696e676f2d736f66742f686561702f762f737461626c652e706e67)](https://packagist.org/packages/bingo-soft/heap)[![Build Status](https://camo.githubusercontent.com/2cf6faeff6f6040cc54a1f1c4fca6f61e7a0de1afab43176770029e4869382a7/68747470733a2f2f7472617669732d63692e6f72672f62696e676f2d736f66742f686561702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/bingo-soft/heap)[![Minimum PHP Version](https://camo.githubusercontent.com/4c62148864d567c4ee794ffab09c1dd4a3f45e41064bbb016440beddaae71a4d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e322d3838393242462e737667)](https://php.net/)[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7d30c6b87f3a012141c1d294557f478a74bc7f6cec90912f54c13888d72794aa/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62696e676f2d736f66742f686561702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bingo-soft/heap/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/50ce27286ee61fd24e5d80e10a9e29f2d41beaac57c551d388d7af1e4cde5e08/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62696e676f2d736f66742f686561702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bingo-soft/heap/?branch=master)

Heap
====

[](#heap)

PHP library containing heap implementations.

Acknowledgements
----------------

[](#acknowledgements)

The library is based on Java [jheaps](https://github.com/d-michail/jheaps/) ideas.

License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 96.4% 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 ~126 days

Recently: every ~250 days

Total

9

Last Release

1356d ago

PHP version history (3 changes)v1.0PHP ^7.1

v1.5PHP ^7.2

v1.7.1PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/72e4d0dc8a6479742cdd0f141255b6f130df96cf2a1e3640349b9c737138697a?d=identicon)[bingo-soft](/maintainers/bingo-soft)

---

Top Contributors

[![bingo-soft](https://avatars.githubusercontent.com/u/48438172?v=4)](https://github.com/bingo-soft "bingo-soft (27 commits)")[![vicvolk](https://avatars.githubusercontent.com/u/7192415?v=4)](https://github.com/vicvolk "vicvolk (1 commits)")

---

Tags

mathdata structuresheapalgorithms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/bingo-soft-heap/health.svg)

```
[![Health](https://phpackages.com/badges/bingo-soft-heap/health.svg)](https://phpackages.com/packages/bingo-soft-heap)
```

###  Alternatives

[brick/math

Arbitrary-precision arithmetic library

2.1k504.0M276](/packages/brick-math)[markrogoyski/math-php

Math Library for PHP. Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra

2.4k7.1M40](/packages/markrogoyski-math-php)[php-ds/php-ds

Specialized data structures as alternatives to the PHP array

4108.8M134](/packages/php-ds-php-ds)[phpseclib/bcmath_compat

PHP 5.x-8.x polyfill for bcmath extension

16720.7M17](/packages/phpseclib-bcmath-compat)[doganoo/php-algorithms

A collection of common algorithms implemented in PHP. The collection is based on "Cracking the Coding Interview" by Gayle Laakmann McDowell

9485.4k7](/packages/doganoo-php-algorithms)[rubix/tensor

A library and extension that provides objects for scientific computing in PHP.

2751.4M5](/packages/rubix-tensor)

PHPackages © 2026

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