picqer/bol-plaza-php-client

This package is abandoned and no longer maintained. The author suggests using the picqer/bol-retailer-php-client package instead.

A PHP Client for the BOL.com Plaza API

v3.3 2020-01-17 10:54 UTC

This package is auto-updated.

Last update: 2021-09-16 12:22:38 UTC


README

Build Status

Bol.com Plaza API client for PHP

This is an open source PHP client for the Bol.com Plaza API.

DEPRECATED!

Watch out, the Plaza API of Bol.com will be discontinued in April 2020. The new API is the Bol Retailer API. We build a brand new client for this API, you can find it at https://github.com/picqer/bol-retailer-php-client.

Installation

Get it with composer

Run the command:

composer require picqer/bol-plaza-php-client

Example: get orders

<?php

require __DIR__ . '/vendor/autoload.php';

$publickey = '--YOUR PUBLIC KEY--';
$privatekey = '--YOUR PRIVATE KEY--';

$client = new Picqer\BolPlazaClient\BolPlazaClient($publickey, $privatekey);

$orders = $client->getOrders();

var_dump($orders);

See the tests file for more information.

Thanks to @mwienk for migrating this package for the Bol Plaza API V2.