laravel-bol-retailer-api maintained by budgetlens
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.