PHPackages                             digipolisgent/api-client - 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. digipolisgent/api-client

ActiveLibrary[API Development](/categories/api)

digipolisgent/api-client
========================

This package provides interfaces and abstract implementations to create an API client.

4.0.0(3mo ago)190.8k↓44.8%5MITPHPPHP ^7.4 || ^8.0CI passing

Since Jul 30Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/district09/php_package_dg-api-client)[ Packagist](https://packagist.org/packages/digipolisgent/api-client)[ Docs](https://github.com/digipolisgent/php_package_api-client)[ RSS](/packages/digipolisgent-api-client/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (18)Used By (5)

District09 API Client
=====================

[](#district09-api-client)

This package provides interfaces and abstract implementations to create an API client.

[![Latest Stable Version](https://camo.githubusercontent.com/6ffd97b9e538e96e443976af4cca4b914c17536a56b02590f96985a1fbfbc865/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64696769706f6c697367656e742f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/digipolisgent/api-client)[![Total Downloads](https://camo.githubusercontent.com/1239d1472bcafe24a4a0820be41fe25e7fc0eb287f9b6b97eabe584e14b0c059/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64696769706f6c697367656e742f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/digipolisgent/api-client)[![License](https://camo.githubusercontent.com/6a85ff0e00814c402fc34505d0a88b2c0e06faa61c28c57262c27f2621eb24d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646973747269637430392f7068705f7061636b6167655f64672d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

[![Build Status](https://camo.githubusercontent.com/b02125707df40473260bd7354d2658dbb37b2493bd5a0296d29281465bb99b6c/68747470733a2f2f6170702e7472617669732d63692e636f6d2f646973747269637430392f7068705f7061636b6167655f64672d6170692d636c69656e742e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/district09/php_package_dg-api-client)[![Maintainability](https://camo.githubusercontent.com/7160f1efc854066065e6c7f99f62a29727bb3b894b54b0e9d538647541809d04/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36353836313964613965383034343937353561322f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/district09/php_package_dg-api-client/maintainability)[![Test Coverage](https://camo.githubusercontent.com/fe34aefb317f18b7aa43124dcabfa3c72d279503378c3a669695a49ac49b1d48/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36353836313964613965383034343937353561322f746573745f636f766572616765)](https://codeclimate.com/github/district09/php_package_dg-api-client/test_coverage)[![PHP from Packagist](https://camo.githubusercontent.com/8015f1696cd2904f0e7781e5c96c1cef76e698344481c998f6777e883e289aff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f64696769706f6c697367656e742f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8015f1696cd2904f0e7781e5c96c1cef76e698344481c998f6777e883e289aff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f64696769706f6c697367656e742f6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)

Install
-------

[](#install)

Add the package to composer.json:

Install the package:

```
composer require digipolisgent/api-client
```

Usage
-----

[](#usage)

See the examples of service packages how to use this package:

- [gent/services/openinghours](https://github.com/StadGent/php_package_services-opening-hours): Service to access the Opening Hours API and wrap the responses in value objects.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

Run first GrumPHP to generate the proper config files:

```
composer grumphp
```

Run all PHPUnit tests:

```
composer phpunit
```

License
-------

[](#license)

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

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance79

Regular maintenance activity

Popularity32

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity72

Established project with proven stability

 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

Every ~198 days

Recently: every ~455 days

Total

13

Last Release

109d ago

Major Versions

1.2.0 → 2.0.02019-11-26

1.2.2 → 2.x-dev2021-02-04

2.1.0 → 3.0.02022-08-17

3.x-dev → 4.0.02026-01-29

PHP version history (3 changes)1.0.0PHP &gt;=7.2

2.x-devPHP &gt;=7.3

3.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd0af1f056fd3baa2df55c0c745ade4d0f8af99505f717bf0ad48d7b615a2153?d=identicon)[Jelle-S](/maintainers/Jelle-S)

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

---

Top Contributors

[![zero2one](https://avatars.githubusercontent.com/u/133124?v=4)](https://github.com/zero2one "zero2one (26 commits)")[![Jelle-S](https://avatars.githubusercontent.com/u/1828542?v=4)](https://github.com/Jelle-S "Jelle-S (25 commits)")[![MPParsley](https://avatars.githubusercontent.com/u/1823998?v=4)](https://github.com/MPParsley "MPParsley (5 commits)")[![lennartvava](https://avatars.githubusercontent.com/u/25999316?v=4)](https://github.com/lennartvava "lennartvava (3 commits)")[![matthijs-va](https://avatars.githubusercontent.com/u/10596780?v=4)](https://github.com/matthijs-va "matthijs-va (1 commits)")[![pj-claeys](https://avatars.githubusercontent.com/u/5794960?v=4)](https://github.com/pj-claeys "pj-claeys (1 commits)")

---

Tags

d09check22webapiclientdigipolisgentdistrict09

### Embed Badge

![Health badge](/badges/digipolisgent-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/digipolisgent-api-client/health.svg)](https://phpackages.com/packages/digipolisgent-api-client)
```

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26236.6k14](/packages/wordpress-php-ai-client)

PHPackages © 2026

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