answear/fox-post-parcel

Symfony API for FoxPost parcels.

Installs: 8 275

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

3.0.1 2024-12-17 13:03 UTC

This package is auto-updated.

Last update: 2024-12-17 13:04:16 UTC


README

FoxPost pickup client for PHP.

Installation

  • install with Composer
composer require git@github.com:answear/fos-post-parcel.git

Setup

No setup needed.

Usage

Get list of parcel shops

/** @var \Answear\FoxPostParcel\Command\GetParcelShops $getParcelShopsCommand **/
$getParcelShopsCommand->getParcelShops();

Error handling

  • Answear\FoxPostParcel\Exception\ServiceUnavailable for all GuzzleException
  • Answear\FoxPostParcel\Exception\MalformedResponse for incorrect responses

Final notes

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