budgetlens / laravel-bol-retailer-api
Laravel wrapper for Bol Retailer Api
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.1
- budgetlens/bol-retailer-api: ^10.0
- monolog/monolog: ^3.5
Requires (Dev)
- orchestra/testbench: ^8.0
- overtrue/phplint: ^9.0
- phpstan/phpstan: ^1.1
- phpunit/phpunit: ^10.2
- squizlabs/php_codesniffer: ^3.7
README
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.