answear / meest-bundle
Meest B2B API integration for Symfony.
Installs: 11 907
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/answear/meest-bundle
Requires
- php: ^8.4
 - ext-soap: *
 - symfony/http-kernel: ^7.0.3
 - webmozart/assert: ^1.11
 
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
 - 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.0.3
 
This package is auto-updated.
Last update: 2025-10-25 12:20:03 UTC
README
Meest B2B API integration for Symfony.
Documentation of the Meest B2B API can be found here: http://dev.meestb2b.com:8090/confluence/.
Installation
- install with Composer
 
composer require answear/meest-bundle
Answear\MeestBundle\AnswearMeestBundle::class => ['all' => true],
should be added automatically to your config/bundles.php file by Symfony Flex.
Usage
- Fetch array of Nova Poshta Pickup Points (or any other supported division type found in DivisionTypeEnum)
 
use Answear\MeestBundle\Enum\DivisionTypeEnum; use Answear\MeestBundle\Request\SearchDivisions; use Answear\MeestBundle\Response\DTO\DivisionDTO; use Answear\MeestBundle\Response\SearchDivisions as SearchDivisionsResponse; use Answear\MeestBundle\Service\MeestClient; // ... /** * @var MeestClient */ private $meestClient; public function __construct( ... MeestClient $meestClient ) { ... $this->meestClient = $meestClient; } ... public function pickupPoints(): void { /** @var SearchDivisionsResponse $response */ $response = $this->meestClient->request(new SearchDivisions(DivisionTypeEnum::NovaPoshtaPoint)); /** @var DivisionDTO $division */ foreach ($response->return as $division) { if ($division->active) { ... } } ... }
Final notes
Feel free to open pull requests with new features, improvements or bug fixes. The Answear team will be grateful for any comments.