Weave 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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table