PHPackages                             codryn/phpdice - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. codryn/phpdice

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

codryn/phpdice
==============

A comprehensive PHP library for parsing and rolling dice expressions for tabletop RPG systems

0.4.0(1mo ago)032↓100%MITPHP &gt;=8.1

Since Jan 6Compare

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

READMEChangelogDependencies (4)Versions (6)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/codryn/phpdice).

###  Health Score

36

—

LowBetter than 83% of packages

Maintenance88

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

Total

4

Last Release

59d ago

PHP version history (2 changes)0.2.0PHP &gt;=8.0

0.3.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/672c6ebccd9bbdd03fda087928aa8d8f9bf64eea76423116ee328c216430003f?d=identicon)[marcowuelser](/maintainers/marcowuelser)

---

Tags

parserdicerpgtabletoprollergamingdice notationd20

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/codryn-phpdice/health.svg)

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

###  Alternatives

[nikic/php-parser

A PHP parser written in PHP

17.4k887.0M1.6k](/packages/nikic-php-parser)[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k896.2M97](/packages/doctrine-lexer)[erusev/parsedown

Parser for Markdown.

15.0k150.2M630](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k393.7M556](/packages/league-commonmark)[masterminds/html5

An HTML5 parser and serializer.

1.8k234.7M187](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k185.5M57](/packages/sabberworm-php-css-parser)

PHPackages © 2026

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