Integrates the Budbee PHP SDK into your Symfony application.
To install this bundle, simply run:
composer require setono/budbee-bundle
<?php
use Setono\Budbee\Client\ClientInterface;
require_once __DIR__ . '/../vendor/autoload.php';
final class YourService
{
private ClientInterface $client;
public function __construct(ClientInterface $client)
{
$this->client = $client;
}
public function __invoke(): void
{
// do something with the client
$boxes = $this->client->boxes()->getAvailableLockers('DK', '1159');
// ...
}
}