PHPackages                             semivan/justclick-api-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. semivan/justclick-api-client

ActiveLibrary[API Development](/categories/api)

semivan/justclick-api-client
============================

Удобный PHP клиент для работы с API JustClick

1.1(4y ago)132MITPHPPHP &gt;=7.1CI failing

Since Nov 4Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

PHP API клиент для JustClick
============================

[](#php-api-клиент-для-justclick)

Требования
----------

[](#требования)

- PHP &gt;= 7.1
- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle/)
- [symfony/http-foundation](https://github.com/symfony/http-foundation/)

Установка
---------

[](#установка)

```
composer require semivan/justclick-api-client
```

Использование
-------------

[](#использование)

```
$client = new \JustClick\JustClickClient($login, $secretKey);
```

### Получить список продуктов

[](#получить-список-продуктов)

```
$products = $client->product()->getList();
```

### Получить заказ по номеру

[](#получить-заказ-по-номеру)

```
$order = $client->order()->get(1234567890);
```

### Найти заказы за указанный период

[](#найти-заказы-за-указанный-период)

```
$orders = $client->order()->findByPeriod('2019-11-01 00:00:00', date('Y-m-d H:i:s'));
```

### Найти заказы по email

[](#найти-заказы-по-email)

```
$orders = $client->order()->findByEmail('client@email.com');
```

### Создать заказ

[](#создать-заказ)

```
$orderBuilder = $client->order()->orderBuilder()
    ->setAddress('Address')
    ->setCity('City')
    ->setComment('Comment')
    ->setCountry('Country')
    ->setEmail('client@email.com')
    ->setFirstName('FirstName')
    ->setLastName('LastName')
    ->setMiddleName('MiddleName')
    ->setPhone('+77777777777')
    ->setPostalcode('000000')
    ->setRegion('Region')
    ->setTag('Tag')
    ->setUtmTags('source', 'medium', 'campaign', 'content', 'term')
    ->addProduct('code1', 1000)
    ->addProduct('code2', 2000);

$order = $client->order()->create($orderBuilder);
```

### Обновить статус заказа

[](#обновить-статус-заказа)

```
$client->order()->updateStatus(1234567890, 'cancel');
```

### Удалить заказ

[](#удалить-заказ)

```
$client->order()->delete(1234567890);
```

Получение заказа при оповещении скрипта
---------------------------------------

[](#получение-заказа-при-оповещении-скрипта)

```
// Создание заказа
$order = $client->callback()->newOrder();

// Отмена заказа
$order = $client->callback()->cancelOrder();

// Оплата заказа
$order = $client->callback()->paidOrder();

// Предоплата заказа
$order = $client->callback()->prepaidOrder();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~225 days

Total

5

Last Release

1480d ago

PHP version history (2 changes)v1.0.0PHP ^7.1

1.0.3PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![semivan](https://avatars.githubusercontent.com/u/17897831?v=4)](https://github.com/semivan "semivan (5 commits)")

---

Tags

apiclientlibraryjustclick

### Embed Badge

![Health badge](/badges/semivan-justclick-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/semivan-justclick-api-client/health.svg)](https://phpackages.com/packages/semivan-justclick-api-client)
```

###  Alternatives

[gorkalaucirica/hipchat-v2-api-client

Hipchat v2 API client

80223.4k6](/packages/gorkalaucirica-hipchat-v2-api-client)[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)[teknoo/sellsy-client

PHP library to connect your applications to your Sellsy account account using the Sellsy API and build your websites and your platforms on the Sellsy technology.

18195.6k](/packages/teknoo-sellsy-client)[tristanjahier/zoho-crm

A PHP client for the API of Zoho CRM.

2414.3k](/packages/tristanjahier-zoho-crm)

PHPackages © 2026

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