Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 710 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 710 Bytes

FoxPost stations bundle

FoxPost pickup client for PHP.

Installation

  • install with Composer
composer require [email protected]: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.