PHPackages                             frosin/easyretailcrm - 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. frosin/easyretailcrm

ActiveLibrary[API Development](/categories/api)

frosin/easyretailcrm
====================

api lib for retailcrm api client

09PHP

Since Oct 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Frosin/EasyRetailcrm)[ Packagist](https://packagist.org/packages/frosin/easyretailcrm)[ RSS](/packages/frosin-easyretailcrm/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Библиотека для разработки скриптов на основе api RetailCRM. Поддержка:

- логирование Monolog,
- backup данных, \*Для добавления новой модели:
- Вписываем новую модуль в файл EasyRetailcrm/Library/EasyRequest/methods.xml
- Добавляем вызов класса в функции 'getClassByName' файла EasyRetailcrm/Library/EasyRequest/EasyRequest.php

Пример использования:

composer require frosin/easyretailcrm:dev-master

```

if (file_exists('vendor')) {
    require realpath(__DIR__ . '/vendor/autoload.php');
} else {
    require realpath(__DIR__ . '/../vendor/autoload.php');
}

use EasyRetailcrm\Library\EasyRequest\EasyRequest;
use EasyRetailcrm\Library\Library;
use RetailCrm\ApiClient;
use EasyRetailcrm\LoggerCustomizer\LoggerCustomizer;
use EasyRetailcrm\Backup\Backup;

try {
    $apiClient = new ApiClient("https://demo.retailcrm.ru", "pUtYoUrApIkEyHeRe", ApiClient::V5);
    $frameWork = new Library($apiClient);

    $log = new LoggerCustomizer('prefix');
    $backup = new Backup();

    $ordersRequest = new EasyRequest("ordersList");
    $ordersRequest->requestFilter->set('ids', ['33463']);
    $ordersResult = $frameWork->easyGet($ordersRequest, true);

    $customersRequest = new EasyRequest("customersList");
    $customersRequest->requestFilter->set('ids', ['5069']);
    $customersResult = $frameWork->easyGet($customersRequest, true);

    $log->info("its test notice: customers and orders", $customersResult, $ordersResult);

    $backup->make("test-customer", $customersResult, $ordersResult);
    print_r($backup->loadLast("test"));
} catch (\Exception $e) {
    echo $e . "\n";
}

```

Создание заказа:

```
    $order = new Order;
    $order
        ->set('email', "testk@mail.ru")
        ->set('firstName', "testFFF")
        ->set('lastName', "teskLLL");
    $id = $frameWork->orderCreate($order);

```

Изменение заказа:

```
    $order = new Order;
    $order
        ->set('id', 33468)
        ->set('email', "testk@mail.ru")
        ->set('firstName', "testFFF")
        ->set('lastName', "teskLLL");
    $frameWork->orderEdit($order);

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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://www.gravatar.com/avatar/5126695e0e5cda538d6f08c58dc347d306336549830654bdb4405ad1d4454894?d=identicon)[Frosin](/maintainers/Frosin)

---

Top Contributors

[![Frosin](https://avatars.githubusercontent.com/u/31651395?v=4)](https://github.com/Frosin "Frosin (16 commits)")

### Embed Badge

![Health badge](/badges/frosin-easyretailcrm/health.svg)

```
[![Health](https://phpackages.com/badges/frosin-easyretailcrm/health.svg)](https://phpackages.com/packages/frosin-easyretailcrm)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/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.1M454](/packages/google-gax)

PHPackages © 2026

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