Looking to hire Laravel developers? Try LaraJobs

laravel-bol-retailer-api maintained by budgetlens

Description
Laravel wrapper for Bol Retailer Api
Author
Last update
2024/04/18 09:33 (v10.x-dev)
License
Downloads
28
Tags

Comments
comments powered by Disqus

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.