PHPackages                             yumo/binarysearch - 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. yumo/binarysearch

ActiveLibrary

yumo/binarysearch
=================

二分查找测试代码

1.0.2(5y ago)03MITPHPPHP &gt;=7.1.0

Since Jul 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/498534160/binarySearch)[ Packagist](https://packagist.org/packages/yumo/binarysearch)[ RSS](/packages/yumo-binarysearch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

binarySearch
============

[](#binarysearch)

\#安装

composer require yumo/binarysearch

\#如何使用

$arr = \[1,2,3,4,5\];

$obj = new BinarySearch();

$obj-&gt;search1($arr, 2); // 循环查找

$obj-&gt;search2($arr, 2, 0,count($arr)); // 递归查找

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

2

Last Release

2113d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/352441?v=4)[Aveline](/maintainers/ym)[@ym](https://github.com/ym)

### Embed Badge

![Health badge](/badges/yumo-binarysearch/health.svg)

```
[![Health](https://phpackages.com/badges/yumo-binarysearch/health.svg)](https://phpackages.com/packages/yumo-binarysearch)
```

PHPackages © 2026

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