{"id":22266754,"url":"https://github.com/nepster-web/gambling-tech","last_synced_at":"2025-07-28T10:33:20.616Z","repository":{"id":42224397,"uuid":"413759607","full_name":"nepster-web/gambling-tech","owner":"nepster-web","description":"Certified casino algorithms","archived":false,"fork":false,"pushed_at":"2022-04-09T19:58:15.000Z","size":49,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-04T06:42:01.102Z","etag":null,"topics":["gambling","gambling-game","php","rng"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nepster-web.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-05T09:51:07.000Z","updated_at":"2023-09-18T18:02:07.000Z","dependencies_parsed_at":"2022-08-20T05:01:36.480Z","dependency_job_id":null,"html_url":"https://github.com/nepster-web/gambling-tech","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nepster-web%2Fgambling-tech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nepster-web%2Fgambling-tech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nepster-web%2Fgambling-tech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nepster-web%2Fgambling-tech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nepster-web","download_url":"https://codeload.github.com/nepster-web/gambling-tech/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227897075,"owners_count":17836698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gambling","gambling-game","php","rng"],"created_at":"2024-12-03T10:23:52.213Z","updated_at":"2024-12-03T10:23:52.998Z","avatar_url":"https://github.com/nepster-web.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ch1 align=\"center\"\u003eGambling Tech on PHP\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://packagist.org/packages/nepster-web/gambling-tech\"\u003e\u003cimg src=\"https://shields.io/packagist/v/nepster-web/gambling-tech.svg?include_prereleases\" alt=\"Release\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.com/github/nepster-web/gambling-tech\"\u003e\u003cimg src=\"https://travis-ci.org/nepster-web/gambling-tech.svg?branch=master\" alt=\"Build\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://scrutinizer-ci.com/g/nepster-web/gambling-tech/?b=master\"\u003e\u003cimg src=\"https://scrutinizer-ci.com/g/nepster-web/gambling-tech/badges/coverage.png?b=master\" alt=\"Coverage\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/nepster-web/gambling-tech\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/nepster-web/gambling-tech.svg\" alt=\"Downloads\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/nepster-web/gambling-tech\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/nepster-web/gambling-tech\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\nIntroduction\n------------\n\n**Gambling Tech** - is a library that provides certified casino algorithms.\n(for example: [RNG](https://en.wikipedia.org/wiki/Random_number_generation), \n[PFS](https://www.provably.com), \n[Fisher Yates](https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle), etc).\n\n\u003cbr\u003e\n\n\u003ca href=\"https://itechlabs.com\"\u003e\n    \u003cimg align=\"left\" src=\"./docs/itech-labs.jpg\" alt=\"iTech Labs\"\u003e\n\u003c/a\u003e\n\n\u003cimg src=\"https://img.shields.io/static/v1?label=Certification passed by\u0026message=iTech Labs\u0026color=success\" /\u003e\nAccredited Laboratory for Online Gaming Certification and Quality Assurance.\nTesting iTech Labs is one of the leading accredited testing laboratories\nfor online gaming worldwide.\n\n[More information](https://itechlabs.com) \n\n\nRequirements\n------------\n\nYou'll need at least PHP 7.4 (it works best with PHP 8).\n\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/):\n\nEither run\n\n```\nphp composer.phar require --prefer-dist nepster-web/gambling-tech\n```\n\nor add\n\n```\n\"nepster-web/gambling-tech\": \"*\"\n```\n\n\n:computer: Basic Usage\n----------------------\n\n**Random generation:**\n```php\nuse Gambling\\Tech\\Random;\n\nRandom::getBytes(16); // 3ö1\\x18\u0026U\\x0Fµòð$ä\u0026ã\\x05\\x06\nRandom::getInteger(0, 100); // 7\nRandom::getBoolean(); // false\nRandom::getFloat(); // 0.57746288525196\nRandom::getString(16); // 3Q989ujqa3CAZl0c\n```\n\n**Shuffling:**\n```php\nuse Gambling\\Tech\\FisherYatesShuffle;\n\n$cards = [0, 1, 2, 3, 4, 5, 6, 7];\n\n$shuffled = (new FisherYatesShuffle())($cards);\n\n$shuffled; // [7, 2, 1, 5, 4, 6, 0, 3]\n```\n\nRead more about other algorithms in the [documentation](./docs/guide/algorithms.md).\n\n\n### Testing\n\nTo run the tests locally, in the root directory execute below\n\n```\n./vendor/bin/phpunit\n```\n\n---------------------------------\n\n## :book: Documentation\n\nSee [the official guide](./docs/guide/README.md).\n\n\n## :books: Resources\n\n* [Documentation](./docs/guide/README.md)\n* [Issue Tracker](https://github.com/nepster-web/gambling-tech/issues)\n\n\n## :newspaper: Changelog\n\nDetailed changes for each release are documented in the [CHANGELOG.md](./CHANGELOG.md).\n\n\n## :lock: License\n\nSee the [MIT License](LICENSE) file for license rights and limitations (MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnepster-web%2Fgambling-tech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnepster-web%2Fgambling-tech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnepster-web%2Fgambling-tech/lists"}