answear / fox-post-parcel
Symfony API for FoxPost parcels.
Installs: 7 940
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.2
- ext-json: *
- guzzlehttp/guzzle: ^6.0|^7.0
- psr/log: ^1.1
- symfony/http-kernel: ^6.0|^7.1
- symfony/property-info: ^6.0|^7.1
- symfony/serializer: ^6.0|^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: ^1.12
- phpstan/phpstan-webmozart-assert: ^1.2
- phpunit/phpunit: ^10.5
- roave/security-advisories: dev-master
- symfony/phpunit-bridge: 6.1.*|^7.1
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 allGuzzleException
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.