PHPackages                             kfoobar/laravel-sportmonks-soccer - 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. kfoobar/laravel-sportmonks-soccer

ActivePlugin[API Development](/categories/api)

kfoobar/laravel-sportmonks-soccer
=================================

Laravel package for Sportmonks Soccer API v2.0. Fork of kirill-latish/laravel-sportmonks-soccer

v1.0.0(3y ago)0211[2 issues](https://github.com/KFoobar/laravel-sportmonks-soccer/issues)MITPHPPHP ^7.3|^8.0

Since Sep 21Pushed 3y agoCompare

[ Source](https://github.com/KFoobar/laravel-sportmonks-soccer)[ Packagist](https://packagist.org/packages/kfoobar/laravel-sportmonks-soccer)[ RSS](/packages/kfoobar-laravel-sportmonks-soccer/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Sportmonks Soccer API
=============================

[](#laravel-sportmonks-soccer-api)

This package is a wrapper for Sportmonks Soccer API for Laravel 7/8/9.

This is a fork of [kirill-latish/laravel-sportmonks-soccer](https://github.com/kirill-latish/laravel-sportmonks-soccer) with added support for Larvel 7+.

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

[](#installation)

Install the package via Composer:

```
composer require kfoobar/laravel-sportmonks-soccer
```

Add your API token to your `.env` file:

```
SPORTMONKS_API_TOKEN=

```

For more settings, you can publish the config file:

```
$ php artisan vendor:publish --provider="Sportmonks\SoccerAPI\SoccerAPIServiceProvider"
```

Usage
-----

[](#usage)

Example when using the facade:

```
use SoccerAPI;

...

$response = SoccerAPI::leagues()->all();
$response = SoccerAPI::fixtures()->byId($id);
```

### Relations

[](#relations)

If you need to include other relations (check the official documentation for which relations can be included):

```
$response = SoccerAPI::seasons()->setInclude(['league', 'fixtures'])->all();
```

### Response

[](#response)

The default behaviour is to return an object containing a `data` array:

```
$response = SoccerAPI::fixtures()->byId($id);

var_dump($response->data);
```

```
{
    "data": [
        {
            "id": null,
            "league_id": null,
            "scores": {
                "localteam_score": 0,
                "visitorteam_score": 0
            }
        }
    ]
}
```

If you want to directly retrieve the properties inside `data`, set `skip_data` to `true` in your config file.

```
$response = SoccerAPI::fixtures()->byId($id);

var_dump($response);
```

```
{
    "id": null,
    "league_id": null,
    "scores": {
        "localteam_score": 0,
        "visitorteam_score": 0
    }
}
```

Documentation
-------------

[](#documentation)

Please refer to the official [documentation](https://www.sportmonks.com/sports/soccer) as to which API calls can be made.

Contributing
------------

[](#contributing)

Thank you for considering contributing!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1329d ago

### Community

Maintainers

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

---

Top Contributors

[![kirill-latish](https://avatars.githubusercontent.com/u/721835?v=4)](https://github.com/kirill-latish "kirill-latish (13 commits)")[![KFoobar](https://avatars.githubusercontent.com/u/420690?v=4)](https://github.com/KFoobar "KFoobar (12 commits)")[![fpicosm](https://avatars.githubusercontent.com/u/19833846?v=4)](https://github.com/fpicosm "fpicosm (7 commits)")[![rebing](https://avatars.githubusercontent.com/u/8533161?v=4)](https://github.com/rebing "rebing (6 commits)")[![sebastiaanspeck](https://avatars.githubusercontent.com/u/12570668?v=4)](https://github.com/sebastiaanspeck "sebastiaanspeck (4 commits)")[![SamsamBabadi](https://avatars.githubusercontent.com/u/11924419?v=4)](https://github.com/SamsamBabadi "SamsamBabadi (3 commits)")[![brad82](https://avatars.githubusercontent.com/u/183727?v=4)](https://github.com/brad82 "brad82 (2 commits)")[![kampit](https://avatars.githubusercontent.com/u/6607338?v=4)](https://github.com/kampit "kampit (1 commits)")[![mabdulazim](https://avatars.githubusercontent.com/u/42019012?v=4)](https://github.com/mabdulazim "mabdulazim (1 commits)")[![heggern](https://avatars.githubusercontent.com/u/3014554?v=4)](https://github.com/heggern "heggern (1 commits)")

---

Tags

laravelsportmonkssoccerlive-scores

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kfoobar-laravel-sportmonks-soccer/health.svg)

```
[![Health](https://phpackages.com/badges/kfoobar-laravel-sportmonks-soccer/health.svg)](https://phpackages.com/packages/kfoobar-laravel-sportmonks-soccer)
```

###  Alternatives

[irazasyed/telegram-bot-sdk

The Unofficial Telegram Bot API PHP SDK

3.3k4.5M84](/packages/irazasyed-telegram-bot-sdk)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[dcblogdev/laravel-xero

A Laravel Xero package

53129.1k1](/packages/dcblogdev-laravel-xero)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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