Speedy integration for Symfony.
Documentation of the API can be found here: https://api.speedy.bg/web-api.html
- install with Composer
composer require answear/speedy-pickup-point-bundle
Answear\SpeedyBundle\AnswearSpeedyBundle::class => ['all' => true],
should be added automatically to your config/bundles.php
file by Symfony Flex.
- provide required config data:
privateKey
# config/packages/answear.yaml
answear_speedy:
username: 'your_username'
password: 'your_password'
language: 'BG'
clientSystemId: 12345
config will be passed to \Answear\SpeedyBundle\ConfigProvider.php
class.
use Answear\SpeedyBundle\Command\FindOffice;
use Answear\SpeedyBundle\Request\FindOfficeRequest;
/** @var FindOffice $findOfficeCommand */
$findOfficeResponse = $findOfficeCommand->findOffice(new FindOfficeRequest());
Feel free to open pull requests with new features, improvements or bug fixes. The Answear team will be grateful for any comments.