PHPackages                             netvlies/bol-openapi-php-sdk - 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. netvlies/bol-openapi-php-sdk

ActiveLibrary[API Development](/categories/api)

netvlies/bol-openapi-php-sdk
============================

The Bol OpenApi SDK for PHP developers enables you to easily develop products over the Bol OpenApi.

v1.0.0(13y ago)21.8k3[1 issues](https://github.com/netvlies/bol-openapi-php-sdk/issues)MITPHPPHP &gt;=5.3.0

Since Jun 6Pushed 12y ago10 watchersCompare

[ Source](https://github.com/netvlies/bol-openapi-php-sdk)[ Packagist](https://packagist.org/packages/netvlies/bol-openapi-php-sdk)[ RSS](/packages/netvlies-bol-openapi-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Bol.com OpenApi PHP SDK
-----------------------

[](#bolcom-openapi-php-sdk)

[![Build Status](https://camo.githubusercontent.com/316030b1df33febbc6859f997c4311c137e8f9e22d7952f4715ccdde9b595472/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6e6574766c6965732f626f6c2d6f70656e6170692d7068702d73646b2e706e67)](http://travis-ci.org/netvlies/bol-openapi-php-sdk)

The [Bol.com Open Api](http://developers.bol.com/documentatie/handleiding/) is an RESTfull API wich you can use to communicate with the Bol.com webshop catalogue. This library makes it very easy to use this API as a service within your PHP application.

You need to have a developer key to use this API. You can get one by [registering at the Bol.com developer center](https://developers.bol.com/inloggen/?action=register).

License
-------

[](#license)

This library is released under the MIT license. See the complete license in the LICENSE file.

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

[](#installation)

First [install composer](http://getcomposer.org/doc/01-basic-usage.md#installation) and after that [install the dependencies](http://getcomposer.org/doc/01-basic-usage.md#installing-dependencies).

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

[](#requirements)

PHP &gt;=5.3.0

Using it
--------

[](#using-it)

```
// ..
$httpBrowser = new \Buzz\Browser();
$accessKey = 'ABC';
$secretAccessKey = 'DEF';
$apiClient = new Client($accessKey, $secretAccessKey, $httpBrowser);
// ..

```

### Search for products / categories

[](#search-for-products--categories)

The searchresults operation returns product information by supplying keywords or ISBN/EAN. The operation has filtering and paging options.

```
// ..
$term = 'PHP';
$options = array(
    'categoryIdAndRefinements'  => null,
    'offset'                    => 0,
    'nrProducts'                => 10,
    'sortingMethod'             => SortingMethod::PRICE,
    'sortingAscending'          => true,
    'includeProducts'           => true,
    'includeCategories'         => true,
    'includeRefinements'        => true
);
$searchResult = $apiClient->searchResults($term, $options);
// ..

```

### List products / categories

[](#list-products--categories)

The listresults operation returns various product lists, based on list type and category. The category is based on the id, which can be obtained by the category list request.

For available list types see the [documentation](http://developers.bol.com/documentatie/handleiding/).

```
// ..
$type = ProductListType::TOPLIST_DEFAULT;
$categoryIdAndRefinements = '87';
$options = array(
    'offset'                => null,
    'nrProducts'            => 10,
    'sortingMethod'         => SortingMethod::TITLE,
    'sortingAscending'      => true,
    'includeProducts'       => false,
    'includeCategories'     => true,
    'includeRefinements'    => true
);
$listResult = $apiClient->listResults($type, $categoryIdAndRefinements, $options);
// ..

```

### Get product information

[](#get-product-information)

The products operation gets detailed information for products.

```
// ...
$productId = '1002004011800815';
$productResponse = $apiClient->products($productId);
// ...

```

Enumerations
------------

[](#enumerations)

For a list of the possible enumerations options (for example sorting methods) take a look at the classes within the *Enum* namespace.

Documentation
-------------

[](#documentation)

Further documentation about the API can be found at the [Bol.com developer center](http://developers.bol.com/documentatie/handleiding/).

Testing
-------

[](#testing)

Be sure to install the dependencies first and after that just run phpunit in the lib root:

```
phpunit

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

5094d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42ee5904cfa308574ecc37759c9c01b9765a211c5a36b30022be7a9eaf18f8e2?d=identicon)[krizon](/maintainers/krizon)

---

Top Contributors

[![krizon](https://avatars.githubusercontent.com/u/880695?v=4)](https://github.com/krizon "krizon (12 commits)")[![ricbra](https://avatars.githubusercontent.com/u/872886?v=4)](https://github.com/ricbra "ricbra (3 commits)")

### Embed Badge

![Health badge](/badges/netvlies-bol-openapi-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/netvlies-bol-openapi-php-sdk/health.svg)](https://phpackages.com/packages/netvlies-bol-openapi-php-sdk)
```

###  Alternatives

[gorkalaucirica/hipchat-v2-api-client

Hipchat v2 API client

80223.4k6](/packages/gorkalaucirica-hipchat-v2-api-client)[matthiasnoback/microsoft-translator

Library for making calls to the Microsoft Translator V2 API

39234.2k3](/packages/matthiasnoback-microsoft-translator)[tamara-solution/php-sdk

Tamara PHP Client Library

10259.4k1](/packages/tamara-solution-php-sdk)[webit/w-firma-api

wFirma.pl API

1820.2k](/packages/webit-w-firma-api)[armetiz/airtable-php

Manipulate Airtable API using PHP

209.2k](/packages/armetiz-airtable-php)

PHPackages © 2026

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