PHPackages                             dustinmoorman/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dustinmoorman/dice

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

dustinmoorman/dice
==================

A tool to roll random dice.

16PHP

Since Apr 17Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Dice!
=====

[](#dice)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/dustinmoorman/dice/master/LICENSE)

Simple dice application, allows you to roll n number of multi-sided die.

installation
------------

[](#installation)

```
bourbon:dice dustin$ curl -sS http://getcomposer.org/installer | php
bourbon:dice dustin$ php composer.phar install
```

usage
-----

[](#usage)

```
bourbon:dice dustin$ ./bin/roll 10d35
[6, 15, 19, 1, 12, 21, 23, 24, 29, 1]
```

testing
-------

[](#testing)

```
bourbon:dice dustin$ ./vendor/bin/phpunit tests/
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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/bc04f308ab21912ee2fc7500da04316cb6b0e478bd880d926871fb656f513080?d=identicon)[dustinmoorman](/maintainers/dustinmoorman)

---

Top Contributors

[![dustinmoorman](https://avatars.githubusercontent.com/u/2163727?v=4)](https://github.com/dustinmoorman "dustinmoorman (13 commits)")

### Embed Badge

![Health badge](/badges/dustinmoorman-dice/health.svg)

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

PHPackages © 2026

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