budgetlens/laravel-bol-retailer-api

Laravel wrapper for Bol Retailer Api

10.0.4 2024-04-18 07:33 UTC

This package is auto-updated.

Last update: 2024-04-18 07:34:35 UTC


README

PHP version Latest Version on Packagist Software License Tests Total Downloads

Laravel Bol Retailer Api Wrapper

This is a laravel wrapper for the Bol retailer API

Installation

Install package using composer

composer require budgetlens/laravel-bol-retailer-api

Getting started

Update .env file with

  • BOL_CLIENT_ID
  • BOL_CLIENT_SECRET
  • BOL_TEST_MODE

If you wish you can publish the configuration.

php artisan vendor:publish --provider="Budgetlens\Budgetlens\LaravelBolRetailerApi\ServiceProvider"

Examples

Get Offer

    $offer = Bol::offers()->get($id);
    ddd($offer);

Testing

Run the tests with:

$ composer test

Versioning

We aim to keep main versions the same as the wrapped package.

Credits

License

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