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 2w 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 31% 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

2495d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20381330?v=4)[cyan](/maintainers/MrCyjaneK)[@MrCyjaneK](https://github.com/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

[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[drupal/core

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

19664.8M1.6k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M396](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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