PHPackages                             cyjan/999dice - 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. cyjan/999dice

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

cyjan/999dice
=============

999 Dice PHP Library

0.2.2(6y ago)0241[1 PRs](https://github.com/MrCyjaneK/999dice-php/pulls)proprietaryPHPPHP &gt;7.0

Since Jan 9Pushed 4y agoCompare

[ Source](https://github.com/MrCyjaneK/999dice-php)[ Packagist](https://packagist.org/packages/cyjan/999dice)[ Docs](https://www.999dice.com/)[ RSS](/packages/cyjan-999dice/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (5)Versions (7)Used By (0)

Hello, Friends!
===============

[](#hello-friends)

It's initial version of [999dice.com](https://www.999dice.com/?79432757) PHP library!

[999dice PHP library on Packages.org](https://packagist.org/packages/reilag/999dice)

Install
-------

[](#install)

You can add 999dice as a dependency using the composer.phar CLI:

```
# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add dependency
php composer.phar require reilag/999dice
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

Examples:
---------

[](#examples)

*Create connection:*

```
$apiKey     = '***** Your API key *****';
$username   = '***** Your login *****';
$password   = '***** Your password *****';
$totp       = '***** Your Totp *****';

$three9DiceClient = new \Three9Dice\Client(
	new \Three9Dice\User($apiKey, $username, $password, $totp)
);
```

*Place BET:*

```
/* Generate bet bet before placing */
$bet = new \Three9Dice\Bet\Bet(
	// Amount in satoshi
	10000,
	// Currency ( default )
	\Three9Dice\Constant::CURRENCY_BTC,
	// GuessRange
	\Three9Dice\GuessRange\GuessRange::generatePercent(49.95, true)
);

$three9DiceClient->placeBet( $bet );
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

5

Last Release

2448d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6706813e9a9548e7e6f76b3e185ef808bbc1f9218bbc443e21960f2dc28ff479?d=identicon)[MrCyjaneK](/maintainers/MrCyjaneK)

---

Top Contributors

[![m-tymchyk](https://avatars.githubusercontent.com/u/7893507?v=4)](https://github.com/m-tymchyk "m-tymchyk (15 commits)")

### Embed Badge

![Health badge](/badges/cyjan-999dice/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[laravel/vapor-cli

The Laravel Vapor CLI

31310.7M8](/packages/laravel-vapor-cli)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)

PHPackages © 2026

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