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

ActiveLibrary[API Development](/categories/api)

endeavour/groeigids-api-client
==============================

Api client for importing GroeiGids articles

1.0.0(1y ago)01.2k—0%1MITPHPPHP ^8.2

Since May 17Pushed 1y ago2 watchersCompare

[ Source](https://github.com/EndeavourPlatforms/groeigids-api-client)[ Packagist](https://packagist.org/packages/endeavour/groeigids-api-client)[ RSS](/packages/endeavour-groeigids-api-client/feed)WikiDiscussions development Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (1)

Groeigids API client
====================

[](#groeigids-api-client)

The Groeigids API Client is a PHP library designed to interact with the Elkander Groeigids API, making it easy to fetch and manage articles and themes. Swagger documentation of the API can be found [here](https://groeigids-api.elkander.nl/swagger-ui/index.html).

Features
--------

[](#features)

- Fetch articles and themes from the Groeigids API
- JSON schema validation for API responses
- Support for query parameters and sorting
- Custom exceptions for error handling

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

[](#requirements)

- PHP 8.1+
- Composer
- A valid API key for the Groeigids API
- A PSR-18 compatible HTTP client
- A PSR-17 compatible HTTP factory implementation

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

[](#installation)

To install the Groeigids API Client, use Composer:

```
composer require endeavour/groeigids-api-client
```

Configuration
-------------

[](#configuration)

To run integration tests, a .env file should be created in the root of the project with the following content:

```
GROEIGIDS_API_KEY=your-api-key-here
```

Usage
-----

[](#usage)

To use the Groeigids API Client, create an instance of the `GroeigidsApiClient` class:

```
use Endeavour\GroeigidsApiClient\Infrastructure\HttpClient\GroeigidsClient;

$client = new GroeigidsClient(
    ClientInterface,
    RequestFactoryInterface,
    new ResponseDataBuilder(),
    new ResponseValidator(new Opis\Validator()),
    getenv('GROEIGIDS_API_KEY')
);
```

Now fetching articles and themes is as simple as calling the `fetchArticles` and `fetchThemeArticles` methods:

```
$articles = $client->fetchArticles();
$themes = $client->fetchThemeArticles();
```

The `fetchArticles` and `fetchThemeArticles` methods accept an optional array of query parameters:

```
$articles = $client->fetchArticles(page: 1, size: 10);
$themes = $client->fetchThemeArticles(page: 2, size: 50);
```

The `fetchArticles` and `fetchThemeArticles` methods also accept an optional TypedArray object containing sorting parameters:

```
$sortParameters = new TypedArray(SortParameter::class, [
    new SortParameter('title', 'asc'),
    new SortParameter('order', 'desc')
]);
$articles = $client->fetchArticles(sort: $sortParameters);
```

Other functions are available to fetch articles by ID, by breadcrumb or those modified after a certain date:

```
$articleById = $client->fetchArticle(1);
$articleByBreadcrumb = $client->fetchArticleByBreadcrumb('article-breadcrumb');
$articlesAfterDate = $client->fetchModfifiedArticlesAfterDate(new DateTime('2020-01-01'))
```

Testing
-------

[](#testing)

To run the unit tests, use PHPUnit (make sure a .env file is present in the root of the project):

```
make up
make test
```

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

[](#contributing)

Contributions are welcome!

Licence
-------

[](#licence)

This project is licensed under the MIT License.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~200 days

Total

2

Last Release

532d ago

Major Versions

0.1.0 → 1.0.02024-12-03

PHP version history (2 changes)0.1.0PHP 8.1.\*

1.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/32a4fe6bcece4eeb8bc5414701abaf02a0761607244f5d64f22a73d7040a34ac?d=identicon)[Endeavour](/maintainers/Endeavour)

---

Top Contributors

[![EndeavourPlatforms](https://avatars.githubusercontent.com/u/103530946?v=4)](https://github.com/EndeavourPlatforms "EndeavourPlatforms (5 commits)")[![patrick-zuurbier](https://avatars.githubusercontent.com/u/135841789?v=4)](https://github.com/patrick-zuurbier "patrick-zuurbier (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[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)[prokerala/astrology-sdk

Prokerala.com Astrology API Client Library for PHP.

2610.0k](/packages/prokerala-astrology-sdk)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[bushlanov-dev/max-bot-api-client-php

Max Bot API Client library

281.6k](/packages/bushlanov-dev-max-bot-api-client-php)

PHPackages © 2026

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