PHPackages                             tanyalei/nackat\_client - 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. tanyalei/nackat\_client

ActiveLibrary[API Development](/categories/api)

tanyalei/nackat\_client
=======================

0.0.6(7y ago)08Apache-2.0PHP

Since Aug 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tanyalei/nackat_client)[ Packagist](https://packagist.org/packages/tanyalei/nackat_client)[ RSS](/packages/tanyalei-nackat-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Installation
------------

[](#installation)

composer require tanyalei/nackat\_client master@dev

Example of usage
----------------

[](#example-of-usage)

```
$api = new \NationalCatalogApi\Client('tygcz9merg9cotv', 'eqx2g6w0rgnxmq3h'); //apikey, supplier_key

$api->setUrl('http://api.crpt.my');// can skip, then used default https://апи.национальный-каталог.рф

$feed = new \NationalCatalogApi\Feed();

$entry = $feed->newEntry();// returns empty object Entity, not related yet with a feed

$entry->setGoodId(123);
$entry->setGoodName("Шоколад");

$entry->addCategory(78);
$entry->deleteCategory(90);

$entry->addIdentifiedBy(\NationalCatalogApi\Entry::IDENTIFIER_TYPE_GTIN, "4602065373085");
$entry->addIdentifiedBy(\NationalCatalogApi\Entry::IDENTIFIER_TYPE_SKU, "4602065373000", 3);

$entry->addAttr(2123, "4602065373085");
$entry->addAttr(1324, "4602065373000", 3);

$entry->addImage(\NationalCatalogApi\Entry::PHOTO_TYPE_DEFAULT", "https://s1.1zoom.ru/prev2/534/Painting_Art_Big_cats_Tigers_Canine_tooth_fangs_533009_300x187.jpg", 2);
$entry->addImage(\NationalCatalogApi\Entry::PHOTO_TYPE_DEFAULT", [
          "https://s1.1zoom.ru/prev2/534/Painting_Art_Big_cats_Tigers_Canine_tooth_fangs_533009_300x187.jpg",
          "https://s1.1zoom.ru/prev2/534/Painting_Art_Big_cats_Tigers_Canine_tooth_fangs_533009_300x187.jpg"
        ]);

$feed->addEntry($entry); //relate created entry with feed

print_r($feed->asJson());

$result = $api->postFeed($feed);// we can pass $feed or $feed->asJson()

```

Json
----

[](#json)

```
[
    {
        "good_id": 123,
        "good_name": "Шоколад",
        "categories": [
            {
                "cat_id": 78
            },
            {
                "cat_id": 90,
                "delete": 1
            }
        ],
        "identified_by": [
            {
                "type": "gtin",
                "value": "4602065373085",
                "multiplier": 1,
                "level": "trade-unit"
            },
            {
                "type": "sku",
                "value": "4602065373000",
                "multiplier": 1,
                "level": "trade-unit",
                "party_id": 3
            }
        ],
        "good_attrs": [
            {
                "attr_id": 2123,
                "attr_value": "4602065373085"
            },
            {
                "attr_id": 1324,
                "attr_value": "4602065373000",
                "attr_value_type": 3
            }
        ],
        "good_images": [
            {
                "photo_type": "default",
                "photo_url": "https:\/\/s1.1zoom.ru\/prev2\/534\/Painting_Art_Big_cats_Tigers_Canine_tooth_fangs_533009_300x187.jpg",
                "location_id": 2
            },
            {
                "photo_type": "3ds",
                "photo_url": [
                    "https:\/\/s1.1zoom.ru\/prev2\/534\/Painting_Art_Big_cats_Tigers_Canine_tooth_fangs_533009_300x187.jpg",
                    "https:\/\/s1.1zoom.ru\/prev2\/534\/Painting_Art_Big_cats_Tigers_Canine_tooth_fangs_533009_300x187.jpg"
                ]
            }
        ]
    }
]

```

Result
------

[](#result)

```
Array
(
    [apiversion] => 3
    [result] => Array
        (
            [feed_id] => 131
        )

)

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.7% 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.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

2809d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b622036adfe0dc658f1702bb3d9a57be1eb8c41f96279766ce2ccc00253f6b01?d=identicon)[tanyalei](/maintainers/tanyalei)

---

Top Contributors

[![tanyaleiua](https://avatars.githubusercontent.com/u/26852544?v=4)](https://github.com/tanyaleiua "tanyaleiua (14 commits)")[![tanyalei](https://avatars.githubusercontent.com/u/4748972?v=4)](https://github.com/tanyalei "tanyalei (5 commits)")

### Embed Badge

![Health badge](/badges/tanyalei-nackat-client/health.svg)

```
[![Health](https://phpackages.com/badges/tanyalei-nackat-client/health.svg)](https://phpackages.com/packages/tanyalei-nackat-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

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