Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Inpost Pickup Point Bundle Laravel Package

answear/inpost-pickup-point-bundle

Symfony bundle for integrating with InPost ShipX pickup points. Install via Composer, then use FindPoints and FindPointsRequestBuilder to search parcel machines by name, type, functions, location (postcode/city/province), partner, availability flags, and pagination.

View on GitHub
Deep Wiki
Context7

Inpost Bundle

Inpost integration for Symfony Documentation of the API can be found here: https://docs.inpost24.com/display/PL/Dokumentacja+API+SHIPX

Instalation

  • install with Composer
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.

Usage

Find parcel machines

use Answear\InpostBundle\Command\FindPoints;
use Answear\InpostBundle\Request\FindPointsRequestBuilder;

$findPointsRequest = (new FindPointsRequestBuilder())->build();

/** @var FindPoints $findPointsCommand */
$findOfficeResponse = $findPointsCommand->findPoints($findPointsRequest);

FindPointsRequestBuilder

This class allows you to quickly search for specific parcel machines

  • Example: search parcel machine with given name
use Answear\InpostBundle\Request\FindPointsRequestBuilder;

$findPointsRequest = (new FindPointsRequestBuilder())
                        ->setName('AK1001')
                        ->build();

Available methods

  • setName (string)
  • setNames (array)
  • setType (PointType)
  • setTypes (PointType[])
  • setFunction (PointFunctionsType)
  • setFunctions (PointFunctionsType[])
  • setPartnerId (integer)
  • setPartnersId (array)
  • setIsNext (boolean)
  • setPaymentAvailable (boolean)
  • setPostCode (string)
  • setPostCodes (array)
  • setCity (string)
  • setCities (array)
  • setProvince (string)
  • setVirtual (integer)
  • setVirtuals (array)
  • setUpdatedFrom (DateTimeInterface)
  • setUpdatedTo (DateTimeInterface)
  • setPage (integer)
  • setPerPage (integer)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor