v0.4.0 2025-04-30 15:35 UTC

This package is not auto-updated.

Last update: 2025-06-11 16:20:48 UTC


README

Latest Version on Packagist Total Downloads

Roll the dice!

Installation

You can install the package via composer:

composer require thefourthdev/dice

Usage

use TheFourthDev\Dice\Dice;

$die = Dice::d6();

$rolledDie = $die->roll();

$value = $die->getValue();  // e.g. 5

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.