PHPackages                             betsolutions/casino-sdk - 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. betsolutions/casino-sdk

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

betsolutions/casino-sdk
=======================

Betsolutions casino SDK

v1.1.1(6y ago)9338.3k↓38.3%14[1 issues](https://github.com/betsolutions-llc/betsolutions-casino-PHP-SDK/issues)PHPPHP &gt;=7.3.0

Since Jul 10Pushed 1y ago2 watchersCompare

[ Source](https://github.com/betsolutions-llc/betsolutions-casino-PHP-SDK)[ Packagist](https://packagist.org/packages/betsolutions/casino-sdk)[ RSS](/packages/betsolutions-casino-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (9)Used By (0)

Betsolutions Casino API SDK for PHP
===================================

[](#betsolutions-casino-api-sdk-for-php)

Betsolutions’s Casino API SDK for PHP provides developer tools for accessing Casino API. For Betsolutions’s Casino API documentation, please see:

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

[](#requirements)

PHP 7.3 or later.

Installation
============

[](#installation)

### Installation via Composer

[](#installation-via-composer)

```
composer require betsolutions/casino-sdk
```

Dependencies
------------

[](#dependencies)

The SDK requires the following extensions in order to work properly:

- [`curl`](https://secure.php.net/manual/en/book.curl.php)

Example
-------

[](#example)

Example of 'getPlayerBalance' request. SDK calculates hash and appends merchantId and hash in the request.

```
$merchantAuthInfo = new MerchantAuthInfo(1843, 'https://api-staging.betsolutions.com', '[your private key]');

$walletService = new WalletService($merchantAuthInfo);

try {

    $privateToken = "[privateToken]";
    $playerId = "[player's id in merchant's system]";
    $currency = "EUR";

    $result = $walletService->getBalance(new GetBalanceRequest($privateToken, $playerId, $currency));

    if(200 == $result->statusCode)
    {
        $balance = $result->data->balance;
    }
} catch (CantConnectToServerException $ex) {
    echo $ex->getMessage();
    echo $ex->getHttpStatusCode();
} catch (JsonMappingException $e) {
    echo $e->getMessage();
}
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

8

Last Release

2532d ago

Major Versions

v0.0.5 → v1.0.02019-07-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b3808ad72d55753270de18c8eacf88d1995e8d6108f647c99a6bf2a643abd77?d=identicon)[tamaz.bagdavadze](/maintainers/tamaz.bagdavadze)

---

Tags

casinophpsdk

### Embed Badge

![Health badge](/badges/betsolutions-casino-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/betsolutions-casino-sdk/health.svg)](https://phpackages.com/packages/betsolutions-casino-sdk)
```

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k78.3k91](/packages/pocketmine-pocketmine-mp)[phan/phan

A static analyzer for PHP

5.6k11.9M1.2k](/packages/phan-phan)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4814.0M25](/packages/coenjacobs-mozart)[open-feature/sdk

PHP implementation of the OpenFeature SDK

42781.1k19](/packages/open-feature-sdk)[sylius/refund-plugin

Plugin provides basic refunds functionality for Sylius application.

701.8M20](/packages/sylius-refund-plugin)[seboettg/citeproc-php

Full-featured CSL processor (https://citationstyles.org)

771.4M34](/packages/seboettg-citeproc-php)

PHPackages © 2026

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