PHPackages                             antoinetb/php-binary-search - 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. antoinetb/php-binary-search

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

antoinetb/php-binary-search
===========================

Binary search function for PHP

2.0.0(7y ago)051MITPHPPHP ^7.1

Since Apr 15Pushed 7y agoCompare

[ Source](https://github.com/AntoineTB/php-binary-search)[ Packagist](https://packagist.org/packages/antoinetb/php-binary-search)[ Docs](https://github.com/AntoineTB)[ RSS](/packages/antoinetb-php-binary-search/feed)WikiDiscussions master Synced 2d ago

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

[![Build Status](https://camo.githubusercontent.com/4f31e3ac4d67ba46b230331fc6d40ae579637f8b5fd13f54449fa634b3d72027/68747470733a2f2f7472617669732d63692e636f6d2f416e746f696e6554422f7068702d62696e6172792d7365617263682e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/AntoineTB/php-binary-search)[![CodeFactor](https://camo.githubusercontent.com/600dfff54a6fa9c696fa0c5cf4212b8cabeb27298b9ddf9fbc915770fbb12de6/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f616e746f696e6574622f7068702d62696e6172792d7365617263682f62616467652f6d6173746572)](https://www.codefactor.io/repository/github/antoinetb/php-binary-search/overview/master)

PHP Binary Search
=================

[](#php-binary-search)

Created from

Using PHP7

To install :

```
composer require antoinetb/php-binary-search

```

License
=======

[](#license)

This code falls under the MIT license.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 72% 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 ~132 days

Recently: every ~225 days

Total

11

Last Release

2730d ago

Major Versions

1.1.2 → 2.0.02018-11-22

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

1.1.1PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb9a72260dec198c60e6f1366e7dc3e3d1a73bcff9a26cb0dfb9646cdfa4ca0f?d=identicon)[AntoineTB](/maintainers/AntoineTB)

---

Top Contributors

[![AntoineTB](https://avatars.githubusercontent.com/u/25986392?v=4)](https://github.com/AntoineTB "AntoineTB (18 commits)")[![mannion007](https://avatars.githubusercontent.com/u/5822816?v=4)](https://github.com/mannion007 "mannion007 (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/antoinetb-php-binary-search/health.svg)

```
[![Health](https://phpackages.com/badges/antoinetb-php-binary-search/health.svg)](https://phpackages.com/packages/antoinetb-php-binary-search)
```

###  Alternatives

[yiidoc/yii2-redactor

Extension redactor for Yii2 Framework.

191618.8k47](/packages/yiidoc-yii2-redactor)[rias/statamic-color-swatches

1617.2k](/packages/rias-statamic-color-swatches)

PHPackages © 2026

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