answear/fox-post-parcel

Symfony API for FoxPost parcels.

Installs: 5 819

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

2.0.0 2022-08-18 10:15 UTC

This package is auto-updated.

Last update: 2024-04-18 14:14:54 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.