answear/fox-post-parcel

Symfony API for FoxPost parcels.

Installs: 8 025

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

3.0.0 2024-09-30 21:07 UTC

This package is auto-updated.

Last update: 2024-10-30 21:21:45 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.