PHPackages                             emnabs/yii2-websports - 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. emnabs/yii2-websports

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

emnabs/yii2-websports
=====================

Yii2 Sports Event Data Component

1.1.3(9y ago)031BSD 3-ClausePHP

Since May 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/emnabs/yii2-websports)[ Packagist](https://packagist.org/packages/emnabs/yii2-websports)[ Docs](https://github.com/emnabs/yii2-websports)[ RSS](/packages/emnabs-yii2-websports/feed)WikiDiscussions master Synced 3w ago

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

Yii2 Websports Component
========================

[](#yii2-websports-component)

Provides settings for sporting events, interfaces, custom implementations, pulls, remote interfaces, and data content related to sports competitions. The basic interface implements the definition of soccer data, such as schedule, game, score list, player list.

[![Latest Stable Version](https://camo.githubusercontent.com/df8c2de6cb91bf1040fb80aa66472aa5dce57db4ea997a884422a38dc2f24a28/68747470733a2f2f706f7365722e707567782e6f72672f656d6e6162732f796969322d77656273706f7274732f762f737461626c652e706e67)](https://packagist.org/packages/emnabs/yii2-websports)[![Total Downloads](https://camo.githubusercontent.com/f9a376c6edd5df46d0fa5b427e2cc99866fdfa0f1361257415159c685efce26c/68747470733a2f2f706f7365722e707567782e6f72672f656d6e6162732f796969322d77656273706f7274732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/emnabs/yii2-websports)[![License](https://camo.githubusercontent.com/f867b7140307eca16d3744632482f03a7a24cf3ecca91f7756427a720fb4fc17/68747470733a2f2f706f7365722e707567782e6f72672f656d6e6162732f796969322d77656273706f7274732f6c6963656e73652e706e67)](https://packagist.org/packages/emnabs/yii2-websports)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist emnabs/yii2-websports "*"

```

or add

```
"emnabs/yii2-websports": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

To use this extension, you have to configure the Connection class in your application configuration:

```
//configure component:
return [
    //....
    'components' => [
	//....
        'sports' => [
            'class' => 'emhome\websports\Sports',
        ],
	//....
    ]
];
```

Usage example

```
Yii::$app->sports->compose()->schedule();
```

包含接口
----

[](#包含接口)

- [新浪体育](http://sports.sina.com.cn/)
- [搜达足球](http://www.sodasoccer.com/)

License
-------

[](#license)

**yii2-websports** is released under the `BSD 3-Clause` License. See the bundled `LICENSE.md` for details.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

6

Last Release

3317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/053076ccac4c1459b62ffc1848e97bddf36a848a0e2e0c1c7482cb869e4d817a?d=identicon)[emnabs](/maintainers/emnabs)

---

Top Contributors

[![emnabs](https://avatars.githubusercontent.com/u/12934341?v=4)](https://github.com/emnabs "emnabs (15 commits)")

---

Tags

yii2extensionsports

### Embed Badge

![Health badge](/badges/emnabs-yii2-websports/health.svg)

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

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7760.0k](/packages/vyants-yii2-daemon)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1454.6k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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