PHPackages                             zero-config/d-roll - 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. zero-config/d-roll

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

zero-config/d-roll
==================

Dice rolling application

2.0.1(9y ago)010[1 issues](https://github.com/ZeroConfig/D-Roll/issues)Apache-2.0PHPPHP ^7.0

Since Feb 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ZeroConfig/D-Roll)[ Packagist](https://packagist.org/packages/zero-config/d-roll)[ RSS](/packages/zero-config-d-roll/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Introduction
============

[](#introduction)

**D-Roll** is a dice rolling application. It implements [zero-config/d](https://github.com/ZeroConfig/D).

Installation
============

[](#installation)

```
composer create-project --no-dev zero-config/d-roll
```

Rolling dice
============

[](#rolling-dice)

The standalone application allows you to roll dice on-the-fly. It also tells you when you roll a *CRIT*.

[![Crit](docs/crit.png)](docs/crit.png)

Because some games require a high number of dice with different number of eyes, keeping track of them can be a pain and therefore, the application can interpret human readable dice notations:

[![Interpreted](docs/interpreted.png)](docs/interpreted.png)

You will notice that one of the inputs is `3d6+10` and the last input is `6`. Under the hood this gets added up to `4d6+10`.

The notation is also very loose. That is why `2 D12` is interpreted as `2d12`.

You will also notice that the interpreter sorts the dice by number of eyes. This adds to the readability of the output.

Tempting fate
=============

[](#tempting-fate)

Another part of the application will help you tempt fate. It is based on the [Fate RPG](https://fate-srd.com/fate-core/taking-action-dice-ladder).

[![Epic](docs/epic.png)](docs/epic.png)

One can supply a custom translation for fate values, to expand the list of possibilities, by supplying a file with the `--config` option.

A custom configuration looks like the following:

```
{
  "": {
    "label": "Ridiculously awesome!",
    "color": "cyan"
  }
}
```

Available colors are `black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan` and `white`.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3415d ago

Major Versions

1.1.0 → 2.0.02017-02-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f105dc2b106ecb7ac1819cf18ea0276730a95d04e11918e23a2bef60efc3bbd?d=identicon)[janmarten\_jongerius](/maintainers/janmarten_jongerius)

---

Tags

gamedicegamblingdiedd20rollinggambled6

### Embed Badge

![Health badge](/badges/zero-config-d-roll/health.svg)

```
[![Health](https://phpackages.com/badges/zero-config-d-roll/health.svg)](https://phpackages.com/packages/zero-config-d-roll)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M342](/packages/psalm-plugin-laravel)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k48](/packages/friendsoftypo3-content-blocks)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

5155.1k18](/packages/phel-lang-phel-lang)

PHPackages © 2026

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