PHPackages                             swiped/handbal-webservice-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. swiped/handbal-webservice-api

ActiveLibrary[API Development](/categories/api)

swiped/handbal-webservice-api
=============================

Handbal Webservice API

v0.3.1(7y ago)020MITPHPPHP &gt;=5.5

Since Dec 30Pushed 7y agoCompare

[ Source](https://github.com/swiped/php-handbal-webservice-api)[ Packagist](https://packagist.org/packages/swiped/handbal-webservice-api)[ RSS](/packages/swiped-handbal-webservice-api/feed)WikiDiscussions master Synced 2mo ago

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

Handbal Webservice API Wrapper
------------------------------

[](#handbal-webservice-api-wrapper)

This project is forked from fruitcakestudio/knkv-webservice-api

Use Composer to install this package (`"swiped/handbal-webservice-api"`) and require the autoloader.

You can use the HttpClient to make requests to the API directly or use the API object to get more abstracted results.

All objects have public properties, matching the key/value from the API directly. getProgam, getResults and getStandings can be called on the API directly, or on a team. The Team ID is then passed on automatically.

See the documentation on

You need a subscription to the Onsweb Clubplugin for Handbal:

> Note: the API limits unique requests to 1 per hour. See Cache usage below.

> Note: the `page` parameter on getResults doesn't seem to be working yet.

Simple example:

```
require_once __DIR__ .'/../vendor/autoload.php';

use Swiped\HandbalWebservice\Api;

// Create a new API instance
$api = new Api($code);

$program = $api->getProgram(true);

foreach($api->getTeams() as $team){
    echo $team->getName();
    $results = $team->getResults();

    foreach($team->getStandings() as $standing){
        echo $standing->poule->getName();
        foreach ($standing->lines as $line) {
            echo $line->position .'. ' . $line->team_name;
        }
    }
}
```

### Cache

[](#cache)

You can use the cache component from Laravel (illuminate/cache). By default, an ArrayCache is used, which only caches for the current request. If you want to use a FileCache for example, composer require `"illuminate/filesystem": "~4.0` and do the following:

```
$filesystem = new \Illuminate\Filesystem\Filesystem;
$cacheStore = new \Illuminate\Cache\FileStore($filesystem, __DIR__.'/cache');

// Create a new API instance
$api = new Api($code, $cacheStore);
```

When using Laravel, you can use `Cache::getStore()` to get the Cache store.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

4

Last Release

2802d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

v0.2.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/935510f817ea6bd9cc8ea2cc3c14add1d0ab14631a831110226bb3e5a942683e?d=identicon)[swiped](/maintainers/swiped)

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (16 commits)")

---

Tags

sportlinkonswebhandbal

### Embed Badge

![Health badge](/badges/swiped-handbal-webservice-api/health.svg)

```
[![Health](https://phpackages.com/badges/swiped-handbal-webservice-api/health.svg)](https://phpackages.com/packages/swiped-handbal-webservice-api)
```

###  Alternatives

[felixfbecker/advanced-json-rpc

A more advanced JSONRPC implementation

25578.7M6](/packages/felixfbecker-advanced-json-rpc)[ashallendesign/laravel-exchange-rates

A wrapper package for interacting with the exchangeratesapi.io API.

485677.8k](/packages/ashallendesign-laravel-exchange-rates)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

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

REST Library for the Discord API

177452.4k11](/packages/restcord-restcord)[keepa/php_api

API Framework for Keepa.com

55474.9k](/packages/keepa-php-api)[romanzipp/laravel-twitch

Twitch PHP Wrapper for Laravel

115121.1k4](/packages/romanzipp-laravel-twitch)

PHPackages © 2026

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