PHPackages                             sqmmm/kodix-api-sdk - 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. sqmmm/kodix-api-sdk

ActiveLibrary[API Development](/categories/api)

sqmmm/kodix-api-sdk
===================

Sdk package for working with kodix.api

0.0.4(7y ago)015MITPHPPHP &gt;=5.6

Since May 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/SQMmm/kodix-api-sdk)[ Packagist](https://packagist.org/packages/sqmmm/kodix-api-sdk)[ Docs](https://github.com/sqmmm/kodix-api-sdk)[ RSS](/packages/sqmmm-kodix-api-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (6)Used By (0)

kodix-api-sdk
=============

[](#kodix-api-sdk)

Kodix-api-sdk php client for working with kodix services api.

Available scopes, entities and methods
--------------------------------------

[](#available-scopes-entities-and-methods)

- DealerStorage - contains all data about dealer centeres. All entities have tha same methods (***getList***, ***get***, ***add***, ***update***, ***delete***):
    - dealerships
    - holdings
    - brands
- PartsStorage - contains all data about dealer`s service parts. Entities:
    - parts
    - dealers

### Authorization

[](#authorization)

```
use Kodix\Api\Client;

$apiClient = new Client();

// set login and pass for authorization (if token has expired)
$apiClient->setAccessLogin($params['login']);
$apiClient->setAccessPassword($params['password']);

//this callback function is used if token has expired
$apiClient->setOnTokenExpiredFunction(function(Client $client) {
    $token = $client->auth();
    if($token){
        //you can save new token

        return true;
    }
    return false;
});

if(isset($params['token'])) {
    $apiClient->setAccessToken($params['token']);

}else{
    $token = $apiClient->auth();

    if($token){
        // save new token
    }
}
```

### Getting/updating data

[](#gettingupdating-data)

```
// Getting the list of dealerships with brand filtering by ids.
$dealerships = new Dealership($apiClient);
$response = $dealerships->getList(['filter' => ['id' => $ids], 'with' => ['brand']]);
$statusCode = $response->getCode();
$errors = $response->getErrors();

if(is_array($errors) && count($errors) > 0 ){
    $items = [];
}else {
    $data = $response->getData();
    $items = $data['items'];
}
```

Docs
----

[](#docs)

- [Dealer storage documentation](https://kodixauto.atlassian.net/wiki/spaces/DIG/pages/188547201/Dealer.Storage)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.1% 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 ~1 days

Total

4

Last Release

2909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ebbdd5fa155c37faa240bc7c5caad4907aa06aa5758d102094bf52992ac8b3a?d=identicon)[SQMmm](/maintainers/SQMmm)

---

Top Contributors

[![ikloster-kodix](https://avatars.githubusercontent.com/u/58512701?v=4)](https://github.com/ikloster-kodix "ikloster-kodix (20 commits)")[![SQMmm](https://avatars.githubusercontent.com/u/16311650?v=4)](https://github.com/SQMmm "SQMmm (17 commits)")

---

Tags

apisdksqmmmkodix-api-sdkkodix

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sqmmm-kodix-api-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/sqmmm-kodix-api-sdk/health.svg)](https://phpackages.com/packages/sqmmm-kodix-api-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M467](/packages/saloonphp-saloon)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)

PHPackages © 2026

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