PHPackages                             avtocod/b2b-api-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. avtocod/b2b-api-php

ActiveLibrary[API Development](/categories/api)

avtocod/b2b-api-php
===================

PHP package for a working with B2B API service

v4.4.0(4y ago)786.7k↓19.6%5[4 issues](https://github.com/avtocod/b2b-api-php/issues)1MITPHPPHP ^7.2|^8.0

Since Jul 10Pushed 3y ago4 watchersCompare

[ Source](https://github.com/avtocod/b2b-api-php)[ Packagist](https://packagist.org/packages/avtocod/b2b-api-php)[ RSS](/packages/avtocod-b2b-api-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (13)Used By (1)

 [![logo](https://camo.githubusercontent.com/286b71e0e4fa4a7dc11791deb864b52a48b33a367e7ce8ac62ec728b8351cad3/68747470733a2f2f6873746f2e6f72672f776562742f35392f64662f34352f353964663435616136633963623937313330393938382e706e67)](https://camo.githubusercontent.com/286b71e0e4fa4a7dc11791deb864b52a48b33a367e7ce8ac62ec728b8351cad3/68747470733a2f2f6873746f2e6f72672f776562742f35392f64662f34352f353964663435616136633963623937313330393938382e706e67)

PHP client for B2B API service
==============================

[](#php-client-for-b2b-api-service)

[![Version](https://camo.githubusercontent.com/2d7568adf7402adf92ce08ebdec5fcf4028b996954380815dd0a505d3012adc3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176746f636f642f6232622d6170692d7068702e7376673f6d61784167653d313830)](https://packagist.org/packages/avtocod/b2b-api-php)[![PHP Version](https://camo.githubusercontent.com/5ae2d429d458bee14bf47b01694e653448767f92fcf1d279360d0a0528a3a7a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6176746f636f642f6232622d6170692d7068702e7376673f6c6f6e6743616368653d74727565)](https://packagist.org/packages/avtocod/b2b-api-php)[![Build Status](https://camo.githubusercontent.com/e24f8eb75624c36f5fd598f81a7badecd7756a0c6373562cd25ff201fc937a4c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6176746f636f642f6232622d6170692d7068702f74657374732e796d6c)](https://github.com/avtocod/b2b-api-php/actions)[![Coverage](https://camo.githubusercontent.com/1b0e6dc22c56bbae7c3acbdd1b916964090afcf0474f4e66832ba5bd0ada9fc2/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6176746f636f642f6232622d6170692d7068702f6d61737465722e7376673f6d61784167653d3630)](https://codecov.io/gh/avtocod/b2b-api-php/)[![Downloads count](https://camo.githubusercontent.com/43a281d8ed5dffd03efe91ca73fca47f855655f3b169e59fe4ffb00407f491fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6176746f636f642f6232622d6170692d7068702e7376673f6d61784167653d313830)](https://packagist.org/packages/avtocod/b2b-api-php)[![License](https://camo.githubusercontent.com/45c2acbe0101b88d7311d6c18e3db5c6237ea25f55ab2ac8e6ac45d739d53ce3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6176746f636f642f6232622d6170692d7068702e7376673f6c6f6e6743616368653d74727565)](https://github.com/avtocod/b2b-api-php/blob/master/LICENSE)

Install
-------

[](#install)

Require this package with composer using the following command:

```
$ composer require avtocod/b2b-api-php "^4.0"
```

> Installed `composer` is required ([how to install composer](https://getcomposer.org/download/)).

> You need to fix the major version of package.

Usage
-----

[](#usage)

Before using this package you must have:

- Service user login
- User password
- User domain name
- Report type name

> For getting this values contact with our B2B Sale Managers (`b2b@avtocod.ru`)

Now, let's create B2B API Client instance:

```
