PHPackages                             pendonl/php-club-dataservice - 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. pendonl/php-club-dataservice

ActiveLibrary[API Development](/categories/api)

pendonl/php-club-dataservice
============================

PHP wrapper around the Sportlink Club.Dataservice API

0.3.1(5y ago)41506[1 issues](https://github.com/PendoNL/php-club-dataservice/issues)[1 PRs](https://github.com/PendoNL/php-club-dataservice/pulls)MITPHPPHP &gt;=5.5.0CI failing

Since Oct 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PendoNL/php-club-dataservice)[ Packagist](https://packagist.org/packages/pendonl/php-club-dataservice)[ RSS](/packages/pendonl-php-club-dataservice/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Sportlink Club.Dataservice
==========================

[](#sportlink-clubdataservice)

This package contains a PHP wrapper around the Sportlink Club.Dataservice API. It aims to make working with the API a breeze.

#### Installation

[](#installation)

Install the package using composer:

```
composer require pendonl/php-club-dataservice

```

Require the vendor/autoload.php file:

```
require 'vendor/autoload.php';

```

Create an instance of the API using your Sportlink Club.Dataservice Client ID:

```
use \PendoNL\ClubDataservice\Api as KnvbApi;
$api = new KnvbApi('client_id');

```

##### Setting the API key later (DI)

[](#setting-the-api-key-later-di)

You can set the 'api\_key' later. So you can use it better with dependency injection. Here's an example:

```
// app/Providers/AppServiceProvider.php

$this->app->bind(\App\Knvb\ApiInterface::class, function() {
    return new \App\Knvb\Api();
});

// Some other class

public function handle(\App\Knvb\ApiInterface $api) {
    $club = $api->setApiKey('your_api_key_here')->getClub();

    ....
}

```

It al starts by getting the club details.

```
$club = $api->getClub()

```

All properties - similar to the json response provided by the API - are made public, so you are free to use `$club->clubnaam` for example. Once you get the club details you can proceed by requesting the teams and related entities.

```
$teams = $club->getTeams();
foreach($teams as $team) {

    // $team->teamnaam;

    // Get competitions
    $competitions = $team->competitions();

    foreach($competitions as $competition) {

        // $competition->competitienaam;

        // Fixtures
        $competition->fixtures();

        // Results
        $competition->results();

        // Table standings
        $competition->table();

    }

}

```

### Thanks to

[](#thanks-to)

- [KNVB Dataservice API Wrapper](https://github.com/fruitcake/php-knvb-dataservice-api) by @barryvdh - for providing a basis for this API wrapper.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

### About Pendo

[](#about-pendo)

Pendo is a webdevelopment agency based in Maastricht, Netherlands. If you'd like, you can [visit our website](https://pendo.nl).

### License

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.6% 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 ~331 days

Total

4

Last Release

2136d ago

### Community

Maintainers

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

---

Top Contributors

[![joshuadegier](https://avatars.githubusercontent.com/u/2580917?v=4)](https://github.com/joshuadegier "joshuadegier (14 commits)")[![edwinheij](https://avatars.githubusercontent.com/u/1799101?v=4)](https://github.com/edwinheij "edwinheij (5 commits)")[![dsmink](https://avatars.githubusercontent.com/u/11163937?v=4)](https://github.com/dsmink "dsmink (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pendonl-php-club-dataservice/health.svg)

```
[![Health](https://phpackages.com/badges/pendonl-php-club-dataservice/health.svg)](https://phpackages.com/packages/pendonl-php-club-dataservice)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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