PHPackages                             furiosojack/mr-binary-tree - 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. furiosojack/mr-binary-tree

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

furiosojack/mr-binary-tree
==========================

Arbol binario para ordenamiento o busqueda | Binary tree to sort or search

v0.2.0(7y ago)1501MITPHPPHP &gt;= 5.3

Since Dec 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/FuriosoJack/MrBinaryTree)[ Packagist](https://packagist.org/packages/furiosojack/mr-binary-tree)[ Docs](https://github.com/FuriosoJack/MrBinaryTree)[ RSS](/packages/furiosojack-mr-binary-tree/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (5)Used By (1)

MrBinaryTree
============

[](#mrbinarytree)

Arbol binario para ordenamiento o busqueda de cualquier tipo de dato que sea comparable con &gt; y &lt; | Binary tree to sort or search

License
=======

[](#license)

El codigo de licencia debe seguirse al pie de la letra, si usted utiliza esta libreria los derechos de autor deben estar incluidos en todas la copias.

Para mas informacion la puede encontra en el archivo LICENSE.txt.

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

[](#installation)

```
$ composer require furiosojack/mr-binary-tree
```

OR

add to your `composer.json`

```
{
    "require": {
        "furiosojack/mr-binary-tree": "^0.2"
    }
}
```

Examples
--------

[](#examples)

```
$ips = [
         '255.168.0.1',
           '172.6.0.1',
           '172.0.0.1',
           '201.0.0.0'
       ];
$i=0;
$tree = new MrBinaryTree();
foreach ($ips as $address){
           $keyAdress = $i;
           $tree->addNode($keyAdress, $address);
   		$i++;
       }

$tree->inAsc($tree->getRoot());
//Deprecated
echo $tree->getLisOrderedList();

var_dump($tree->getNodesOrdered());
```

result

```
array:4 [▼
  0 => "201.0.0.0"
  1 => "172.0.0.1"
  2 => "172.6.0.1"
  3 => "255.168.0.1"
]
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Total

4

Last Release

2774d ago

PHP version history (2 changes)0.1.0PHP &gt;= 5.4

v0.1.2PHP &gt;= 5.3

### Community

Maintainers

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

---

Top Contributors

[![FuriosoJack](https://avatars.githubusercontent.com/u/26976637?v=4)](https://github.com/FuriosoJack "FuriosoJack (20 commits)")

---

Tags

sortsorting-algorithmstreetree-structuresorttreebinarybinary treearbolordenamientobinario

### Embed Badge

![Health badge](/badges/furiosojack-mr-binary-tree/health.svg)

```
[![Health](https://phpackages.com/badges/furiosojack-mr-binary-tree/health.svg)](https://phpackages.com/packages/furiosojack-mr-binary-tree)
```

###  Alternatives

[knplabs/knp-menu

An object oriented menu library

1.4k55.8M287](/packages/knplabs-knp-menu)[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[kyslik/column-sortable

Package for handling column sorting in Laravel 6.x

6485.6M21](/packages/kyslik-column-sortable)[loophp/phptree

An implementation of tree data structure

981.8M2](/packages/loophp-phptree)[alchemy/binary-driver

A set of tools to build binary drivers

19110.9M39](/packages/alchemy-binary-driver)[bluem/tree

Library for handling tree structures based on parent IDs

252916.1k7](/packages/bluem-tree)

PHPackages © 2026

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