PHPackages                             amacrobert/dice-roller - 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. [CLI &amp; Console](/categories/cli)
4. /
5. amacrobert/dice-roller

ActiveLibrary[CLI &amp; Console](/categories/cli)

amacrobert/dice-roller
======================

A command-line polyhedral dice roller, perfect for RPGs

1.0.1(5y ago)011MITPHP

Since Aug 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/amacrobert/dice-roller)[ Packagist](https://packagist.org/packages/amacrobert/dice-roller)[ Docs](https://github.com/amacrobert/dice-roller)[ RSS](/packages/amacrobert-dice-roller/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Dice Roller
===========

[](#dice-roller)

*Command-line polyhedral dice roller*

[![CLI Dice Roller Output](https://github.com/amacrobert/dice-roller/raw/master/doc/img/dice-roller-screenshot.jpg)](https://github.com/amacrobert/dice-roller/raw/master/doc/img/dice-roller-screenshot.jpg)

Usage
-----

[](#usage)

Roll once:

```
$ roll 3d6+2

```

Or roll interactively:

```
$ roll
roll> 3d6+5
roll> d20
roll> quit

```

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

[](#installation)

1. Install globally via [Composer](https://getcomposer.org/download/):

```
$ composer global require amacrobert/dice-roller

```

2. If you don't already have your global composer bin directory as part of your PATH, add it in your shell profile:

```
export PATH=$PATH:$HOME/.composer/vendor/bin/

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2086d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/402f1809838666f366546bd156ba3a52c22f6e24828d4789a4f47e4fca229813?d=identicon)[amacrobert](/maintainers/amacrobert)

---

Top Contributors

[![amacrobert](https://avatars.githubusercontent.com/u/1427361?v=4)](https://github.com/amacrobert "amacrobert (3 commits)")

---

Tags

clidicerpgdie

### Embed Badge

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

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)[socialengine/sniffer-rules

A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect violations of a defined coding standard. It helps your code remains clean and consistent.

1248.2k1](/packages/socialengine-sniffer-rules)

PHPackages © 2026

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