A D&D-style dice rolling library for PHP