PHPackages                             nepster-web/gambling-tech - 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. nepster-web/gambling-tech

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

nepster-web/gambling-tech
=========================

Gambling Algorithms for Certification.

1.0.0-Alpha-3.1(4y ago)122.0k3MITPHPPHP ^7.4|^8.0

Since Oct 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nepster-web/gambling-tech)[ Packagist](https://packagist.org/packages/nepster-web/gambling-tech)[ RSS](/packages/nepster-web-gambling-tech/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

Gambling Tech on PHP
====================

[](#gambling-tech-on-php)

 [![Release](https://camo.githubusercontent.com/3ac15607f5e737e6d989b52938a526fd76de800caf8b4c64a66e1dc4ffd06cd1/68747470733a2f2f736869656c64732e696f2f7061636b61676973742f762f6e6570737465722d7765622f67616d626c696e672d746563682e7376673f696e636c7564655f70726572656c6561736573)](https://packagist.org/packages/nepster-web/gambling-tech) [![Build](https://camo.githubusercontent.com/5e4b05a0c35646e8a6b0a0ee36282a602b3946a4eb7d771d168c1507845d4468/68747470733a2f2f7472617669732d63692e6f72672f6e6570737465722d7765622f67616d626c696e672d746563682e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/github/nepster-web/gambling-tech) [![Coverage](https://camo.githubusercontent.com/4c360e1b919a0eb526aa1579c2c468e958b1c8f9399f336807fd16f711c4326e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e6570737465722d7765622f67616d626c696e672d746563682f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nepster-web/gambling-tech/?b=master) [![Downloads](https://camo.githubusercontent.com/4d6cc4d5a9fd7bd91c754b6703812b16a0a6e0f31b95bb7d36e386aecf301762/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6570737465722d7765622f67616d626c696e672d746563682e737667)](https://packagist.org/packages/nepster-web/gambling-tech) [![License](https://camo.githubusercontent.com/1371b852b1781fb3c655e834542eb15a083f283551b16d6cce636c0d33c8f71b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6570737465722d7765622f67616d626c696e672d74656368)](https://packagist.org/packages/nepster-web/gambling-tech)

Introduction
------------

[](#introduction)

**Gambling Tech** - is a library that provides certified casino algorithms. (for example: [RNG](https://en.wikipedia.org/wiki/Random_number_generation), [PFS](https://www.provably.com), [Fisher Yates](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle), etc).

[ ![iTech Labs](./docs/itech-labs.jpg)](https://itechlabs.com)[![](https://camo.githubusercontent.com/ac91f7a0c14952f7811c2ec0cf03527bc42fe52eef8f6f22a6a7545da4e79fdd/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d43657274696669636174696f6e20706173736564206279266d6573736167653d6954656368204c61627326636f6c6f723d73756363657373)](https://camo.githubusercontent.com/ac91f7a0c14952f7811c2ec0cf03527bc42fe52eef8f6f22a6a7545da4e79fdd/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d43657274696669636174696f6e20706173736564206279266d6573736167653d6954656368204c61627326636f6c6f723d73756363657373)

Accredited Laboratory for Online Gaming Certification and Quality Assurance. Testing iTech Labs is one of the leading accredited testing laboratories for online gaming worldwide. [More information](https://itechlabs.com)

Requirements
------------

[](#requirements)

You'll need at least PHP 7.4 (it works best with PHP 8).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/):

Either run

```
php composer.phar require --prefer-dist nepster-web/gambling-tech

```

or add

```
"nepster-web/gambling-tech": "*"

```

💻 Basic Usage
-------------

[](#computer-basic-usage)

**Random generation:**

```
use Gambling\Tech\Random;

Random::getBytes(16); // 3ö1\x18&U\x0Fµòð$ä&ã\x05\x06
Random::getInteger(0, 100); // 7
Random::getBoolean(); // false
Random::getFloat(); // 0.57746288525196
Random::getString(16); // 3Q989ujqa3CAZl0c
```

**Shuffling:**

```
use Gambling\Tech\FisherYatesShuffle;

$cards = [0, 1, 2, 3, 4, 5, 6, 7];

$shuffled = (new FisherYatesShuffle())($cards);

$shuffled; // [7, 2, 1, 5, 4, 6, 0, 3]
```

Read more about other algorithms in the [documentation](./docs/guide/algorithms.md).

### Testing

[](#testing)

To run the tests locally, in the root directory execute below

```
./vendor/bin/phpunit

```

---

📖 Documentation
---------------

[](#book-documentation)

See [the official guide](./docs/guide/README.md).

📚 Resources
-----------

[](#books-resources)

- [Documentation](./docs/guide/README.md)
- [Issue Tracker](https://github.com/nepster-web/gambling-tech/issues)

📰 Changelog
-----------

[](#newspaper-changelog)

Detailed changes for each release are documented in the [CHANGELOG.md](./CHANGELOG.md).

🔒 License
---------

[](#lock-license)

See the [MIT License](LICENSE) file for license rights and limitations (MIT).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

Total

4

Last Release

1545d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3afe1904e4ddaf0b5c2a46403167d059a74feec4a78644ba19a11eadb8f6bbe?d=identicon)[nepster-web](/maintainers/nepster-web)

---

Top Contributors

[![nepster-web](https://avatars.githubusercontent.com/u/5681979?v=4)](https://github.com/nepster-web "nepster-web (28 commits)")

---

Tags

gamblinggambling-gamephprngphpRNGrandom number generatoralgorithmsgamblingcasinoprovably fair system

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/nepster-web-gambling-tech/health.svg)

```
[![Health](https://phpackages.com/badges/nepster-web-gambling-tech/health.svg)](https://phpackages.com/packages/nepster-web-gambling-tech)
```

###  Alternatives

[savvot/random

Deterministic pseudo-random generators library with dozens of useful functions and several sources of randomness

21266.1k5](/packages/savvot-random)

PHPackages © 2026

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