PHPackages                             drsdre/yii2-betssonsports - 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. [API Development](/categories/api)
4. /
5. drsdre/yii2-betssonsports

ActiveYii2-extension[API Development](/categories/api)

drsdre/yii2-betssonsports
=========================

Yii2 Extension for Betsson Sports API access

1.3(10y ago)029BSD-3-ClausePHPPHP &gt;=5.4.0

Since Oct 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/drsdre/yii2-betssonsports)[ Packagist](https://packagist.org/packages/drsdre/yii2-betssonsports)[ Docs](https://github.com/drsdre/yii2-betssonsports)[ RSS](/packages/drsdre-yii2-betssonsports/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Yii2-betssonsports
==================

[](#yii2-betssonsports)

Yii2 client for Betsson Sportsbook API

Requirements:
=============

[](#requirements)

PHP5 with SOAP client.

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

[](#installation)

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

Either run

```
composer require --prefer-dist drsdre/yii2-betssonsports "*"

```

or add

```
"drsdre/yii2-betssonsports": "*"
```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

You need to setup the client as application component:

```
'components' => [
    'betssonsportsApi' => [
        'class' => '\BetssonSports\Client',
        'service_url' => 'zzz',
        'loginName' => 'xxx',
        'password' => 'zzz',
    ]
    ...
]
```

or define the client directly in the code:

```
$client = new \BetssonSports\Client([
    'service_url' => 'yyy',
	'loginName' => 'xxx',
	'password' => 'zzz',
]);
```

How to use API:
===============

[](#how-to-use-api)

Request documentation from Betsson Affiliate program.

Cache setup:
============

[](#cache-setup)

This extension allows to store and update data in a local cache to facilitate quicker access and easier data updates. To enable this features, several database tables have to be created using the following migration script:

```
./yii migrate --migrationPath=./vendor/drsdre/yii2-betssonsports/migrations

```

That's all!
-----------

[](#thats-all)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~0 days

Total

6

Last Release

3806d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/af1ce9c639e6df7041d55842e18825a11d3864f176a9a273dfd86fca5549d7fa?d=identicon)[drsdre](/maintainers/drsdre)

---

Top Contributors

[![drsdre](https://avatars.githubusercontent.com/u/809827?v=4)](https://github.com/drsdre "drsdre (21 commits)")

---

Tags

apisoapyii2extensionconsumerbetsson.comlive sport oddssportsbook

### Embed Badge

![Health badge](/badges/drsdre-yii2-betssonsports/health.svg)

```
[![Health](https://phpackages.com/badges/drsdre-yii2-betssonsports/health.svg)](https://phpackages.com/packages/drsdre-yii2-betssonsports)
```

###  Alternatives

[mongosoft/yii2-soap-client

SOAP Client Extension for Yii 2

37404.9k](/packages/mongosoft-yii2-soap-client)[dotzero/yii2-amocrm

Расширение для Yii Framework 2 реализующее клиент для работы с API amoCRM

1639.7k](/packages/dotzero-yii2-amocrm)[conquer/services

Yii2 soap wsdl web services

1632.5k](/packages/conquer-services)[mikemadisonweb/yii2-elasticsearch

Yii2 extension for integration with Elasticsearch version 5.0 and above.

153.9k](/packages/mikemadisonweb-yii2-elasticsearch)[apexwire/yii2-restclient

Tools to use API as ActiveRecord for Yii2

143.5k](/packages/apexwire-yii2-restclient)

PHPackages © 2026

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