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

Dpd Pl Pickup Services Bundle Laravel Package

answear/dpd-pl-pickup-services-bundle

View on GitHub
Deep Wiki
Context7

DPD.pl PICKUP Services

Integration for DPD.pl's PICKUP Services API avialble mypudo.dpd.com.pl.

Installation

  • install with Composer
composer require answear/dpd-pl-pickup-services-bundle

Answear\DpdPlPickupServicesBundle\AnswearDpdPlPickupServicesBundle::class => ['all' => true],
should be added automatically to your config/bundles.php file by Symfony Flex.

Configuration

Below you will find bundle's full configuration:

answear_dpd_pl_pickup_services:
    key: 'xxxxxx' # your API Key
    # settings below are set as default, you don't need to provide them
    url: 'https://mypudo.dpd.com.pl/api/pudo/' # service's URL
    requestTimeout: 10.0 # time the library will wait for server's response

When using library without Symfony you need to put your configuration into an instance of \Answear\DpdPlPickupServicesBundle\Service\ConfigProvider object.

Usage

DPD's API is available through two main services:

  1. Answear\DpdPlPickupServicesBundle\Service\PUDOList - returns all PUDO items at once
  2. Answear\DpdPlPickupServicesBundle\Service\PUDOListStreaming - streams PUDO items one by one

Both services are automatically registered in your Symfony application's DI container. PUDO items are returned to you as Answear\DpdPlPickupServicesBundle\ValueObject\PUDO objects.

Final notes

Feel free to open pull requests with new features, improvements or bug fixes. The Answear team will be grateful for any comments.

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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
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