Looking to hire Laravel developers? Try LaraJobs

laravel-bol-com-retailer maintained by homedesignshops

Description
Laravel Bol.com Retailer API package
Author
Last update
2025/05/22 12:36 (dev-master)
License
Downloads
994

Comments
comments powered by Disqus

Laravel Bol.com Retailer API

Latest Version on Packagist Build Status Quality Score Total Downloads

A wrapper for the Bol.com Retailer API from Picger's Bol.com package.

Installation

You can install the package via composer:

composer require homedesignshops/laravel-bol-com-retailer

Configure the .env file

BOL_COM_DEMO_MODE=true
BOL_COM_CLIENT_ID={CLIENT_ID_HERE}
BOL_COM_CLIENT_SECRET={CLIENT_SECRET_HERE}

Publish the config file

php artisan vendor:publish --provider="HomeDesignShops/LaravelBolComRetail/BolComRetailerServiceProvider" --tag="config"

You're ready to use this package

Usage

Get all open orders

$orders = BolComRetailer::getOpenOrders();

Get order

$order = BolComRetailer::getOrder($orderId);

Ship order item

$processStatus = BolComRetailer::shipOrderItem(OrderItem $orderItem, Transport $transport);

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email kevin@homedesignshops.nl instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.