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
- dev-master
- 2.23
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.1
- 2.19.0
- 2.18.1
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.1
- 2.13
- 2.12.2
- 2.11.2
- 2.11.1
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.1
- 1.0.0
- dev-feature/DMS-1137
This package is auto-updated.
Last update: 2024-11-11 21:35:13 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...