answear / fox-post-parcel
Symfony API for FoxPost parcels.
Package info
github.com/answear/fox-post-parcel
Type:symfony-bundle
pkg:composer/answear/fox-post-parcel
4.1.0
2026-06-22 12:16 UTC
Requires
- php: ^8.4
- ext-json: *
- guzzlehttp/guzzle: ^7.0
- symfony/http-kernel: ^7.1|^8.0
- symfony/property-info: ^7.1|^8.0
- symfony/serializer: ^7.1|^8.0
- webmozart/assert: ^1.11|^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.95.10
- matthiasnoback/symfony-config-test: ^6.2
- phpro/grumphp: ^v2.21.0
- phpstan/phpstan: ^2.2.2
- phpstan/phpstan-webmozart-assert: ^2.0
- phpunit/phpunit: ^10.5.27
- roave/security-advisories: dev-master
- symfony/phpunit-bridge: ^7.1|^8.0
This package is auto-updated.
Last update: 2026-06-22 12:17:19 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\ServiceUnavailablefor allGuzzleExceptionAnswear\FoxPostParcel\Exception\MalformedResponsefor 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.