answear/inpost-pickup-point-bundle
Inpost integration for Symfony Documentation of the API can be found here: https://docs.inpost24.com/display/PL/Dokumentacja+API+SHIPX
composer require answear/inpost-pickup-point-bundle
Answear\InpostBundle\AnswearInpostBundle::class => ['all' => true],
should be added automatically to your config/bundles.php file by Symfony Flex.
use Answear\InpostBundle\Command\FindPoints;
use Answear\InpostBundle\Request\FindPointsRequestBuilder;
$findPointsRequest = (new FindPointsRequestBuilder())->build();
/** @var FindPoints $findPointsCommand */
$findOfficeResponse = $findPointsCommand->findPoints($findPointsRequest);
This class allows you to quickly search for specific parcel machines
use Answear\InpostBundle\Request\FindPointsRequestBuilder;
$findPointsRequest = (new FindPointsRequestBuilder())
->setName('AK1001')
->build();
Available methods
How can I help you explore Laravel packages today?