PHPackages                             xabbuh/block-relocation-problem - 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. xabbuh/block-relocation-problem

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

xabbuh/block-relocation-problem
===============================

Algorithms for solving block relocation problems

2141PHP

Since May 12Pushed 12y ago1 watchersCompare

[ Source](https://github.com/xabbuh/brp-php)[ Packagist](https://packagist.org/packages/xabbuh/block-relocation-problem)[ RSS](/packages/xabbuh-block-relocation-problem/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Block Relocation Problem Solver
===============================

[](#block-relocation-problem-solver)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a99e0bcf24e55209b987e963658aa5423da0f20c16cd6f1ab021efede41206fb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7861626275682f6272702d7068702f6261646765732f7175616c6974792d73636f72652e706e673f733d39353965626236343836663933366262353563343830363333343265623234383930313639333537)](https://scrutinizer-ci.com/g/xabbuh/brp-php/)[![Build Status](https://camo.githubusercontent.com/76f464950645e30ae32519724abcdeae401d027379aef1b46c5af73d0de51211/68747470733a2f2f7472617669732d63692e6f72672f7861626275682f6272702d7068702e737667)](https://travis-ci.org/xabbuh/brp-php)[![SensioLabsInsight](https://camo.githubusercontent.com/ba54a7d6a45a988833ecab43502279608efa9365c95418fd793ccfa280586d6b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38653230373733622d333733362d346136372d623864662d3936323233386339383937392f6d696e692e706e67)](https://insight.sensiolabs.com/projects/8e20773b-3736-4a67-b8df-962238c98979)

Getting Started
---------------

[](#getting-started)

Add `xabbuh/block-relocation-problem` to your `composer.json` file:

```
{
    "require": {
        "xabbuh/block-relocation-problem": "~1.0@dev"
    }
}
```

and run `php composer.phar update`.

Container Configuration
-----------------------

[](#container-configuration)

Create a file containing your BRP configuration (e.g. `configuration.json`):

```
{
    "stacks": [
        [6, 7, 9],
        [1, 3, 4],
        [2, 8, 5]
    ]
}
```

Solve the Problem
-----------------

[](#solve-the-problem)

Solve the problem running the `brp:configuration:solve` command:

```
$ php vendor/bin/brp.php brp:configuration:solve --algorithm=la configuration.json
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (33 commits)")

### Embed Badge

![Health badge](/badges/xabbuh-block-relocation-problem/health.svg)

```
[![Health](https://phpackages.com/badges/xabbuh-block-relocation-problem/health.svg)](https://phpackages.com/packages/xabbuh-block-relocation-problem)
```

PHPackages © 2026

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