answear / fox-post-parcel
Symfony API for FoxPost parcels.
Installs: 11 044
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Type:symfony-bundle
pkg:composer/answear/fox-post-parcel
Requires
- php: ^8.4
- ext-json: *
- guzzlehttp/guzzle: ^7.0
- symfony/http-kernel: ^7.1
- symfony/property-info: ^7.1
- symfony/serializer: ^7.1
- webmozart/assert: ^1.11
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- matthiasnoback/symfony-config-test: ^5.2
- phpro/grumphp: ^2.8
- phpstan/phpstan: ^2.1
- phpstan/phpstan-webmozart-assert: ^2.0
- phpunit/phpunit: ^10.5.27
- roave/security-advisories: dev-master
- symfony/phpunit-bridge: ^7.1
This package is auto-updated.
Last update: 2025-10-03 07:58:26 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.