PHPackages                             scyzoryck/reaper - 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. scyzoryck/reaper

ActiveLibrary

scyzoryck/reaper
================

An extension for erpk/harvester. It allow to send a message to erepublik MU Chatroom

214PHP

Since Dec 28Pushed 11y ago2 watchersCompare

[ Source](https://github.com/scyzoryck/reaper)[ Packagist](https://packagist.org/packages/scyzoryck/reaper)[ RSS](/packages/scyzoryck-reaper/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Reaper
======

[](#reaper)

**Reaper** is an extension for [erpk/harvester](https://github.com/erpk/harvester/). It add some new features for **Harvester**.

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

[](#installation)

The best way to install Reaper is through [Composer](http://getcomposer.org/).

If you have installed Harvester, you have to run following command in your project directory:

`php composer.phar require scyzoryck/reaper master-dev`

Else create file `composer.json` file in your project directory:

```
{
    "minimum-stability": "dev",
    "require": {
      "scyzoryck/reaper": "master-dev"
    }
}
```

And run command

`php composer.phar install`

Modules
-------

[](#modules)

\###Chat Allows to send messages via erepublik chat.

```
use Scyzoryck\Reaper\Module\Chat\ChatModule;

$module = new ChatModule($client);
//set message color to blue (#45d7d7)
$module->setColor('45d7d7');
//send message "Black is white" to military unit chat
$module->sendMessage('Black is white');
//get last used color.
echo $module->getColor();
```

Default colors using by erepublik chat are: *2F2F2F*, *45D7D7*, *4545D7*, *8ED745*, *D745D*, *8E8E8E*, *407D40*, *45D745*, *7D4040*, *40407D*, *7D7D40*, *D7A045*, *7D407D*, *D74545*, *BDBDBD*, *407D7D*, *DC93DC* and *D7D745*, but it's working with all hex color codes.

If you want to send message to other room you can use:

```
//set other room id than MU room id
$module->setCurrentRoomId($roomId);
$module->sendMessage('blablabla');
//get current room id
echo $module->getCurrentRoomId(); // if you didn't set any roomId it will display MU room id
```

\###Military *This module is depraceted. It'll be removed in the next version of Reaper. Use [MUDO Module](https://github.com/scyzoryck/reaper#mudo) instead of it.*This module extends MilitaryModule from [erpk/harvester](https://github.com/erpk/harvester/). New features is setting MUDO.

```
use Scyzoryck\Reaper\Module\Military\MilitaryModule;

$module = new MilitaryModule($client);
//firstly set your military unit ID
$module->setMilitaryUnitId(12345);
//next set battle with id 654321 as MUDO
$module->setMUDO(654321);
```

If MUDO can't be change a `CannotChangeMUDOExpection` is thrown.

\###MUDO This module allows to change MUDO.

```
use Scyzoryck\Reaper\Module\MUDO\MUDOModule;

$MUDO = new MUDOModule($client);
//firstly set your military unit ID
$MUDO->setMilitaryUnitId(12345);
//get available campaigns to set as MUDO
$MUDO->getAvailableCampaigns(); //return array
//next set battle with id 654321 as MUDO
$MUDO->setDailyOrder(654321);
//get number of changes left
$MUDO->getChangesLeft();
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b9185a15b769a41d23e80ec48b013d8cd86ed31b2fd8fe61d7bb13beed6e409?d=identicon)[scyzoryck](/maintainers/scyzoryck)

### Embed Badge

![Health badge](/badges/scyzoryck-reaper/health.svg)

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

PHPackages © 2026

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