lamoda / crpt-ismp-api-client
Client for CRPT ISMP system
2.23
2022-04-11 15:50 UTC
Requires
- php: ^7.2 || ^8.0
- doctrine/annotations: ^1.6
- doctrine/cache: ^1.8
- guzzlehttp/guzzle: ^6.3 || ^7.4
- symfony/property-access: ^4.2 || ^5.0 || ^6.0
- symfony/property-info: ^4.3 || ^5.0 || ^6.0
- symfony/serializer: ^4.2.10 || ^5.0 || ^6.0
Requires (Dev)
- ext-json: *
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2026-06-12 01:22:41 UTC
README
Installation
Composer
composer require lamoda/crpt-ismp-api-client
Description
This library implements API client for the Labeling and Traceability Information System (or "Информационная система маркировки и прослеживаемости" in Russian, ISMP) of the CRPT (https://markirovka.crpt.ru)
Library implements V3 and V4 version of ISMP Api's
Currently this client implements just a subset of the ISMP Api methods.
Usage
<?php use GuzzleHttp\Client; use Lamoda\IsmpClient\Impl\Serializer\SymfonySerializerAdapterFactory; use Lamoda\IsmpClient\V3\IsmpApi; $client = new Client([ // Uri to your OMS 'base_uri' => 'http://ismp_uri', 'timeout' => 2.0, ]); $serializer = SymfonySerializerAdapterFactory::create(); $api = new IsmpApi($client, $serializer); // Call api methods...