PHPackages                             pavelkuzmin/korona-auto-api - 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. pavelkuzmin/korona-auto-api

ActiveLibrary[API Development](/categories/api)

pavelkuzmin/korona-auto-api
===========================

Wrapper for API korona-auto.com

10PHP

Since Nov 16Pushed 8y agoCompare

[ Source](https://github.com/PaulKuzmin/KoronaAutoAPI)[ Packagist](https://packagist.org/packages/pavelkuzmin/korona-auto-api)[ RSS](/packages/pavelkuzmin-korona-auto-api/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP API Wrapper for
==============================================

[](#php-api-wrapper-for-httpskorona-autocom)

Full description:

Install
-------

[](#install)

Via Composer

```
$ composer require pavelkuzmin/korona-auto-api
```

In action
---------

[](#in-action)

See in action () (russian).

Usage
-----

[](#usage)

#### Init

[](#init)

```
$api = new KoronaAuto\KoronaAutoAPI('YOUR_API_TOKEN');
```

#### Search products

[](#search-products)

```
$api = new KoronaAuto\KoronaAutoAPI('YOUR_API_TOKEN');
$result = $api->search('M12332'); // part number or name
```

Result

```
Array
(
    [0] => KoronaAuto\Type\ProductType Object
        (
            [id] => 2971788
            [name] => Рессора Рено о.н. 7482137384  (7482137384)
            [producer] => Renault
            [brand] =>
            [factory_number] => 7482137384
            [original_number] =>
            [weight] =>
            [volume] =>
            [height] =>
            [width] =>
            [length] =>
            [warehouses] => Array
                (
                )

        )

    [1] => KoronaAuto\Type\ProductType Object
        (
            [id] => 2971788
            [name] => Рессора Рено о.н. 7482137384  (7482137384)
            [producer] => Renault
            [brand] =>
            [factory_number] => 7482137384
            [original_number] =>
            [weight] =>
            [volume] =>
            [height] =>
            [width] =>
            [length] =>
            [warehouses] => Array
                (
                )

        )

)

```

#### Product description

[](#product-description)

```
$api = new KoronaAuto\KoronaAutoAPI('YOUR_API_TOKEN');
$result = $api->productDescription(2324387); // id of product
```

Result

```
KoronaAuto\Type\ProductType Object
(
    [id] =>
    [name] => Гайка накидная МАН, Скания, Вольво, Мерседес, ДАФ о.н. (8.92002)
    [producer] => DIESEL TECHNIC
    [brand] => MERCEDES-BENZ, MAN
    [factory_number] => 8.92002
    [original_number] => A915017004101, 915017 004101, A3870004102, 06.71030-2102, 003870 004102, 000 990 8254, A9908254
    [weight] => 0.004
    [volume] =>
    [height] =>
    [width] =>
    [length] =>
    [warehouses] => Array
        (
        )

)

```

#### Summary information about product with prices and quantity on the warehouses of company

[](#summary-information-about-product-with-prices-and-quantity-on-the-warehouses-of-company)

```
$api = new KoronaAuto\KoronaAutoAPI('YOUR_API_TOKEN');
$result = $api->productInfo(2324387); // id of product
```

Result

```
KoronaAuto\Type\ProductType Object
(
    [id] =>
    [name] => Гайка накидная МАН, Скания, Вольво, Мерседес, ДАФ о.н. (8.92002)
    [producer] => DIESEL TECHNIC
    [brand] => MERCEDES-BENZ, MAN
    [factory_number] => 8.92002
    [original_number] => A915017004101, 915017 004101, A3870004102, 06.71030-2102, 003870 004102, 000 990 8254, A9908254
    [weight] => 0.004
    [volume] =>
    [height] =>
    [width] =>
    [length] =>
    [warehouses] => Array
        (
            [0] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Воронеж
                    [quantity] => 0
                    [value] => 4.31
                    [currency] => RUB
                )

            [1] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Казань
                    [quantity] => 0
                    [value] => 4.35
                    [currency] => RUB
                )

            [2] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Москва "Север"
                    [quantity] => 18
                    [value] => 2.93
                    [currency] => RUB
                )

            [3] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Нижний Новгород
                    [quantity] => 0
                    [value] => 4.26
                    [currency] => RUB
                )

            [4] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Новосибирск
                    [quantity] => 0
                    [value] => 4.43
                    [currency] => RUB
                )

            [5] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Распределительный центр
                    [quantity] => 0
                    [value] => 4.2
                    [currency] => RUB
                )

            [6] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Ростов-на-Дону
                    [quantity] => 0
                    [value] => 4.35
                    [currency] => RUB
                )

            [7] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Самара
                    [quantity] => 0
                    [value] => 4.3
                    [currency] => RUB
                )

            [8] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Санкт-Петербург
                    [quantity] => 0
                    [value] => 4.2
                    [currency] => RUB
                )

            [9] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Челябинск
                    [quantity] => 0
                    [value] => 4.39
                    [currency] => RUB
                )

        )

)

```

#### Product prices

[](#product-prices)

```
$api = new KoronaAuto\KoronaAutoAPI('YOUR_API_TOKEN');
$result = $api->productPrice(2324387); // id of product
```

Result

```
KoronaAuto\Type\ProductType Object
(
    [id] =>
    [name] => Гайка накидная МАН, Скания, Вольво, Мерседес, ДАФ о.н. (8.92002)
    [producer] => DIESEL TECHNIC
    [brand] =>
    [factory_number] => 8.92002
    [original_number] =>
    [weight] =>
    [volume] =>
    [height] =>
    [width] =>
    [length] =>
    [warehouses] => Array
        (
            [0] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Воронеж
                    [quantity] =>
                    [value] => 4.31
                    [currency] => RUB
                )

            [1] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Казань
                    [quantity] =>
                    [value] => 4.35
                    [currency] => RUB
                )

            [2] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Москва "Север"
                    [quantity] =>
                    [value] => 2.93
                    [currency] => RUB
                )

            [3] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Нижний Новгород
                    [quantity] =>
                    [value] => 4.26
                    [currency] => RUB
                )

            [4] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Новосибирск
                    [quantity] =>
                    [value] => 4.43
                    [currency] => RUB
                )

            [5] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Распределительный центр
                    [quantity] =>
                    [value] => 4.2
                    [currency] => RUB
                )

            [6] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Ростов-на-Дону
                    [quantity] =>
                    [value] => 4.35
                    [currency] => RUB
                )

            [7] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Самара
                    [quantity] =>
                    [value] => 4.3
                    [currency] => RUB
                )

            [8] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Санкт-Петербург
                    [quantity] =>
                    [value] => 4.2
                    [currency] => RUB
                )

            [9] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Челябинск
                    [quantity] =>
                    [value] => 4.39
                    [currency] => RUB
                )

        )

)

```

#### Stock of products

[](#stock-of-products)

```
$api = new KoronaAuto\KoronaAutoAPI('YOUR_API_TOKEN');
$result = $api->productStock(2324387); // id of product
```

Result

```
KoronaAuto\Type\ProductType Object
(
    [id] =>
    [name] => Гайка накидная МАН, Скания, Вольво, Мерседес, ДАФ о.н. (8.92002)
    [producer] => DIESEL TECHNIC
    [brand] =>
    [factory_number] => 8.92002
    [original_number] =>
    [weight] =>
    [volume] =>
    [height] =>
    [width] =>
    [length] =>
    [warehouses] => Array
        (
            [0] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Воронеж
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [1] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Казань
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [2] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Москва "Север"
                    [quantity] => 18
                    [value] =>
                    [currency] =>
                )

            [3] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Нижний Новгород
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [4] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Новосибирск
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [5] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Распределительный центр
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [6] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Ростов-на-Дону
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [7] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Самара
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [8] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Санкт-Петербург
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

            [9] => KoronaAuto\Type\WarehouseType Object
                (
                    [name] => Челябинск
                    [quantity] => 0
                    [value] =>
                    [currency] =>
                )

        )

)

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22024412?v=4)[pavelkuzmin](/maintainers/pavelkuzmin)[@PavelKuzmin](https://github.com/PavelKuzmin)

---

Top Contributors

[![PaulKuzmin](https://avatars.githubusercontent.com/u/22707469?v=4)](https://github.com/PaulKuzmin "PaulKuzmin (7 commits)")

### Embed Badge

![Health badge](/badges/pavelkuzmin-korona-auto-api/health.svg)

```
[![Health](https://phpackages.com/badges/pavelkuzmin-korona-auto-api/health.svg)](https://phpackages.com/packages/pavelkuzmin-korona-auto-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
