PHPackages                             drsdre/yii2-oddsgg-api - 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-oddsgg-api

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

drsdre/yii2-oddsgg-api
======================

Yii2 Extension for Odds.gg eSports odds API

1.0.2(9y ago)019BSD-3-ClausePHPPHP &gt;=5.5.0

Since Jan 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/drsdre/yii2-oddsgg-api)[ Packagist](https://packagist.org/packages/drsdre/yii2-oddsgg-api)[ Docs](https://github.com/drsdre/yii2-oddsgg-api)[ RSS](/packages/drsdre-yii2-oddsgg-api/feed)WikiDiscussions master Synced today

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

Yii2-oddsgg-api
===============

[](#yii2-oddsgg-api)

Yii2 client for Odds.gg eSports Odds API

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

[](#requirements)

PHP5.5 and Yii2 Framework.

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

[](#installation)

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

Either run

```
composer require --prefer-dist drsdre/yii2-oddsgg-api "*"

```

or add

```
"drsdre/yii2-oddsgg-api": "*"
```

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

Cache Setup
-----------

[](#cache-setup)

This extension offers the ability to store and updates data in a local cache to circumvent API restrictions. Several database tables have to be created using the following migration script:

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

```

Usage
=====

[](#usage)

You need to setup the client as application component:

```
'components' => [
    'oddsGGApi' => [
        'class' => 'drsdre\OddsGG\Client',
        'service_url' => 'zzz',
        'api_key' => 'xxx',
    ]
    ...
]
```

or define the client directly in the code:

```
$client = new \drsdre\OddsGG\Client([
    'service_url' => 'yyy',
	'api_key' => 'xxx',
]);
```

API documentation
-----------------

[](#api-documentation)

See  for full API documentation.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3394d 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 (8 commits)")

---

Tags

apiclientyii2extensionesportsodds.gglive esports odds

### Embed Badge

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

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

###  Alternatives

[dotzero/yii2-amocrm

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

1639.7k](/packages/dotzero-yii2-amocrm)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1243.1k1](/packages/skeeks-yii2-google-api)[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)
