PHPackages                             programmatordev/sportmonksfootball-php-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. [HTTP &amp; Networking](/categories/http)
4. /
5. programmatordev/sportmonksfootball-php-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

programmatordev/sportmonksfootball-php-api
==========================================

SportMonksFootball PHP library that provides convenient access to the SportMonks Football API

v3.0.1(4mo ago)222↓33.3%MITPHPPHP &gt;=8.1CI passing

Since Oct 26Pushed 4mo agoCompare

[ Source](https://github.com/programmatordev/sportmonksfootball-php-api)[ Packagist](https://packagist.org/packages/programmatordev/sportmonksfootball-php-api)[ RSS](/packages/programmatordev-sportmonksfootball-php-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (17)Used By (0)

SportMonksFootball PHP API
==========================

[](#sportmonksfootball-php-api)

[![Latest Version](https://camo.githubusercontent.com/5753a924d5a8117e0896b1fcf905374a3c2744074f507cbab7c6dc6867b9d3aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f70726f6772616d6d61746f726465762f73706f72746d6f6e6b73666f6f7462616c6c2d7068702d6170692e7376673f7374796c653d666c61742d737175617265)](https://github.com/programmatordev/sportmonksfootball-php-api/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Tests](https://github.com/programmatordev/sportmonksfootball-php-api/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/programmatordev/sportmonksfootball-php-api/actions/workflows/ci.yml?query=branch%3Amain)

SportMonksFootball PHP library that provides convenient access to the SportMonks Football API.

Supports [PSR-18 HTTP clients](https://www.php-fig.org/psr/psr-18), [PSR-17 HTTP factories](https://www.php-fig.org/psr/psr-17), [PSR-6 caches](https://www.php-fig.org/psr/psr-6) and [PSR-3 logs](https://www.php-fig.org/psr/psr-3).

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

[](#requirements)

- PHP 8.1 or higher.

API Key
-------

[](#api-key)

A key is required to be able to make requests to the API. You must sign up for a [SportMonks account](https://www.sportmonks.com/football-api/) to get one.

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

[](#installation)

Install the library via [Composer](https://getcomposer.org/):

```
composer require programmatordev/sportmonksfootball-php-api
```

Basic Usage
-----------

[](#basic-usage)

Simple usage looks like:

```
use ProgrammatorDev\SportMonksFootball\SportMonksFootball;

// initialize
$api = new SportMonksFootball('yourapikey');

// get all livescores of the current day
$livescores = $api->livescores()->getAll();
```

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

[](#documentation)

- [Usage](docs/01-usage.md)
- [Configuration](docs/02-configuration.md)
- [Supported Endpoints](docs/03-supported-endpoints.md)
    - [Football](docs/03-supported-endpoints.md#football-endpoints)
    - [Odds](docs/03-supported-endpoints.md#odds-endpoints)
    - [Core](docs/03-supported-endpoints.md#core-endpoints)
- [Error Handling](docs/04-error-handling.md)
- [Entities](docs/05-entities.md)

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

[](#contributing)

Any form of contribution to improve this library (including requests) will be welcome and appreciated. Make sure to open a pull request or issue.

License
-------

[](#license)

This project is licensed under the MIT license. Please see the [LICENSE](LICENSE) file distributed with this source code for further information regarding copyright and licensing.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance74

Regular maintenance activity

Popularity9

Limited adoption so far

Community6

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

Recently: every ~42 days

Total

16

Last Release

146d ago

Major Versions

v1.2.0 → v2.0.02024-05-28

v2.4.0 → v3.0.02025-11-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/831bb375fc093d45e6f6ed3d7fb1d15656db5e0a8fca6ef3e212e60aa6e698b3?d=identicon)[programmatordev](/maintainers/programmatordev)

---

Top Contributors

[![andrepimpao](https://avatars.githubusercontent.com/u/41913452?v=4)](https://github.com/andrepimpao "andrepimpao (357 commits)")

---

Tags

footballfootball-apiphpphp8psr-17psr-18psr-3psr-6sportmonkssportmonks-football-apipsr-3phpapipsr-17psr-18psr-6php8sportmonkssportmonks-football-apifootballfootball-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/programmatordev-sportmonksfootball-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/programmatordev-sportmonksfootball-php-api/health.svg)](https://phpackages.com/packages/programmatordev-sportmonksfootball-php-api)
```

###  Alternatives

[marcin-orlowski/laravel-api-response-builder

Helps building nice, normalized and easy to consume Laravel REST API.

837458.6k3](/packages/marcin-orlowski-laravel-api-response-builder)[claude-php/claude-php-sdk

A universal, framework-agnostic PHP SDK for the Anthropic Claude API with PSR compliance

13920.7k2](/packages/claude-php-claude-php-sdk)[butschster/kraken-api-client

The most powerful and extendable REST API / Websocket client for Kraken.com. Built on PHP8.0

5014.3k](/packages/butschster-kraken-api-client)

PHPackages © 2026

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