PHPackages                             chrismou/phergie-irc-plugin-react-dice - 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. chrismou/phergie-irc-plugin-react-dice

ActiveLibrary

chrismou/phergie-irc-plugin-react-dice
======================================

Phergie plugin for returning randomly generated numbers in response to dice rolling requests

v2.0.0(10y ago)02951BSD-2-ClausePHP

Since Jan 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/chrismou/phergie-irc-plugin-react-dice)[ Packagist](https://packagist.org/packages/chrismou/phergie-irc-plugin-react-dice)[ Docs](http://github.com/chrismou/phergie-irc-plugin-react-dice)[ RSS](/packages/chrismou-phergie-irc-plugin-react-dice/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (6)Used By (0)

Dice rolling plugin for [Phergie](http://github.com/phergie/phergie-irc-bot-react/)
===================================================================================

[](#dice-rolling-plugin-for-phergie)

[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin for returning randomly generated numbers in response to dice rolling requests.

[![Build Status](https://camo.githubusercontent.com/0b548295824856daa4cc13098bc7dfcec6ffccc9fef65a417d869337bed71e1f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f63687269736d6f752f706865726769652d6972632d706c7567696e2d72656163742d646963652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/chrismou/phergie-irc-plugin-react-dice)[![Test Coverage](https://camo.githubusercontent.com/b62b8ed7f4a72a38cd4d6fc3c23a48073fc11d10708c15402d489353c42c366b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f63687269736d6f752f706865726769652d6972632d706c7567696e2d72656163742d646963652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/chrismou/phergie-irc-plugin-react-dice/coverage)[![Code Climate](https://camo.githubusercontent.com/9c86acb3a231e66a33a5f3e543ef87bdaa47dad2f9f9d06b77c7f73fe6b19c0b/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f63687269736d6f752f706865726769652d6972632d706c7567696e2d72656163742d646963652f6261646765732f6770612e737667)](https://codeclimate.com/github/chrismou/phergie-irc-plugin-react-dice)[![Buy me a beer](https://camo.githubusercontent.com/84435278ebf644da9ba4ece64a76602c16bb88edd474ee54cc757a17eca9666f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d50617950616c2d3031394344452e737667)](https://www.paypal.me/chrismou)

About
-----

[](#about)

This plugin returns the total of a user specified number of dice rolls.

By default, the plugin responds to "dice " (number of sides is optional, defaults to 6); i.e. dice 5 returns the total of five 6-sided die rolls.

Install
-------

[](#install)

The recommended method of installation is [through composer](http://getcomposer.org).

```
composer require chrismou/phergie-irc-plugin-react-dice

```

See Phergie documentation for more information on [installing and enabling plugins](https://github.com/phergie/phergie-irc-bot-react/wiki/Usage#plugins).

Configuration
-------------

[](#configuration)

To activate the plugin using the default settings, add the following to your phergie config:

```
new \Chrismou\Phergie\Plugin\Dice\Plugin
```

You can configure some of the settings as follows:

```
new \Chrismou\Phergie\Plugin\Dice\Plugin(
    "defaultSides": 6,      // The number of sides on the dice if excluded from the command
    "maxRolls": 50,         // Maximum number of dice
    "maxSides": 1000,       // Maximum number of sides per dice
    "showSums": true        // Show the sums in the response
)
```

Tests
-----

[](#tests)

To run the unit test suite:

```
curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

```

License
-------

[](#license)

Released under the BSD License. See `LICENSE`.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~88 days

Total

5

Last Release

3790d ago

Major Versions

v1.1.0 → v2.0.02016-01-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/98e0798db43673fb89fe589cbb45fb4c6547d3bdbe76d7efa30d96f24ffc677e?d=identicon)[chrismou](/maintainers/chrismou)

---

Top Contributors

[![chrismou](https://avatars.githubusercontent.com/u/319883?v=4)](https://github.com/chrismou "chrismou (40 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (1 commits)")[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (1 commits)")

---

Tags

pluginbotircphergie

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/chrismou-phergie-irc-plugin-react-dice/health.svg)

```
[![Health](https://phpackages.com/badges/chrismou-phergie-irc-plugin-react-dice/health.svg)](https://phpackages.com/packages/chrismou-phergie-irc-plugin-react-dice)
```

PHPackages © 2026

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