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

ActiveLibrary[API Development](/categories/api)

rojtjo/bol-api-client
=====================

Bol.com Retailer API client v10

0.5.3(9mo ago)0318MITPHPPHP ^8.1CI passing

Since Aug 25Pushed 9mo ago1 watchersCompare

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

READMEChangelog (7)Dependencies (8)Versions (12)Used By (0)

Bol.com API Client
==================

[](#bolcom-api-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/01bb1f016d696cfe2f58e93ee10bfd059c9a8e8d5d04dc68e28b5729c0c3a2f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6a746a6f2f626f6c2d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rojtjo/bol-api-client)[![Tests](https://github.com/rojtjo/bol-api-client/actions/workflows/tests.yml/badge.svg)](https://github.com/rojtjo/bol-api-client/actions/workflows/tests.yml)

Interact with the Bol.com API v10.

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

[](#installation)

You can install the package via composer:

```
composer require rojtjo/bol-api-client
```

Usage
-----

[](#usage)

```
use Rojtjo\Bol\Bol;
use Rojtjo\Bol\Connection;
use Rojtjo\Bol\Environment;
use Rojtjo\Bol\Secure\CachedAuthentication;
use Rojtjo\Bol\Secure\ClientCredentialsAuthentication;
use Rojtjo\Bol\Types\FulfilmentMethod;
use Rojtjo\Bol\Types\OrderStatus;
use Some\Psr\Http\Client\Implementation as Http;
use Some\Psr\SimpleCache\Implementation as Cache;

$http = new Http();
$cache = new Cache();

$bol = new Bol(
    new Connection(
        new CachedAuthentication(
            new ClientCredentialsAuthentication(
                'Your Client ID',
                'Your Client Secret',
            ),
            $cache,
            'bol-credentials-cache',
        ),
        Environment::Demo,
        $http,
    ),
    $cache,
);

// Retrieve an offer
$offer = $bol->offers()->offer('00000000-0000-0000-0000-000000000000');

// Retrieve open orders
$openOrders = $bol->orders()->orders(FulfilmentMethod::ByRetailer, OrderStatus::Open);
```

Testing
-------

[](#testing)

Create a copy of `phpunit.xml.dist` named `phpunit.xml` and fill out the test credentials to be used.

```
vendor/bin/phpunit
```

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance58

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Recently: every ~150 days

Total

10

Last Release

272d ago

### Community

Maintainers

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

---

Top Contributors

[![rojtjo](https://avatars.githubusercontent.com/u/1123887?v=4)](https://github.com/rojtjo "rojtjo (25 commits)")

---

Tags

apiclientbolBol.com

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[kunalvarma05/dropbox-php-sdk

Dropbox PHP API V2 SDK (Unofficial)

3633.0M18](/packages/kunalvarma05-dropbox-php-sdk)[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)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[mozex/anthropic-php

Anthropic PHP is a supercharged community-maintained PHP API client that allows you to interact with Anthropic API.

46365.1k13](/packages/mozex-anthropic-php)

PHPackages © 2026

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