PHPackages                             reketaka/yii2-helps - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. reketaka/yii2-helps

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

reketaka/yii2-helps
===================

Набор полезных хелповых функций, виджетов и модулей

1.232(4y ago)0463MITPHP

Since Aug 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Reketaka/yii2-helps)[ Packagist](https://packagist.org/packages/reketaka/yii2-helps)[ RSS](/packages/reketaka-yii2-helps/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (144)Used By (0)

Пакет полезных хелповых функций
===============================

[](#пакет-полезных-хелповых-функций)

Набор полезных хелповых функций, виджетов и модулей Нужно установить asset-packagist.org

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist reketaka/yii2-helps "*"

```

or add

```
"reketaka/yii2-helps": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Установка контроллера миграций, задает `CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=InnoDB` если не указанны опции создания таблицы

```
'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'templateFile' => '@reketaka/helps/common/views/migration/migration.php',
            'generatorTemplateFiles' => [
                'create_table'=>'@reketaka/helps/common/views/migration/createTableMigration.php'
            ]
        ]
```

Модель Regedit

**console config.php**

```
'controllerMap' => [
        'regedit'=>[
            'class'=>'reketaka\helps\common\commands\RegeditController'
        ]
    ],

```

**config.php**

```
    'components' => [
        'regedit'=>[
            'class'=>'reketaka\helps\common\models\Regedit'
        ],
        'db'=>[
            'schemaMap' => [
                'mysql'=>'reketaka\helps\common\models\db\mysql\Schema'
            ]
        ]
    ]

```

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

```
    Yii::$app->regedit->get('//modules/myModule/someVar');
    Yii::$app->regedit->remove('//modules/myModule/someVar');
    Yii::$app->regedit->clearCache();
    Yii::$app->regedit->getList('//modules/myModule/someVar');
    Yii::$app->regedit->set('//modules/myModule/someVar', 'test');

```

**Модуль обмена данными с 1c**

Для установки модуля принятия данных с 1с модуль автоматически принимает сохраняет данные, возможно принятия данных в zip формате

Все принятые файлы храняться в `$module->getProgressDirPath()` после их обраотки можете скопировать их в папку `$module->getBackupDirPath()`

Вызов в 1с

```
http://dev_price.sunrise22.ru/importOnec/import-onec/auto

```

```
'modules'=>[
        'importOnec'=>[
            'class'=>'reketaka\helps\modules\onec\Module',
            'userName'=>'test';
            'userPassword'=>'test';
            'authKeyName'=>'AuthKey';
            'authKeyVal'=>'pzshkmm0VzIZru65cB1Zsr6o47xZYqpR';
            'maxFileSize'=>102400;
            'enableZip'=>true;
            'saveDirPath'=>'@backend/runtime/temp';
            'authKeyCallback' => function(){
                if (!($cookie = Yii::$app->request->headers->get('cookie', false))) {
                    throw new Exception('Not find authKey in Cookie');
                }

                list($n, $authKey) = explode('=', $cookie);
                return $authKey;
            }
        ]
    ]

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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 ~9 days

Recently: every ~179 days

Total

141

Last Release

1547d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a61d9580e512bf30e39d5935c7ad80afdca9137e7e549fa6d1e2cfb3e22a852?d=identicon)[Reketaka](/maintainers/Reketaka)

---

Top Contributors

[![Reketaka](https://avatars.githubusercontent.com/u/6899101?v=4)](https://github.com/Reketaka "Reketaka (146 commits)")

---

Tags

yii2extensionhelp functions

### Embed Badge

![Health badge](/badges/reketaka-yii2-helps/health.svg)

```
[![Health](https://phpackages.com/badges/reketaka-yii2-helps/health.svg)](https://phpackages.com/packages/reketaka-yii2-helps)
```

###  Alternatives

[abei2017/yii2-wx

一个专注于yii2的微信sdk

1482.8k](/packages/abei2017-yii2-wx)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

2011.6k](/packages/imanilchaudhari-yii2-currency-converter)[degordian/yii2-webhooks

Yii2 extension for webhooks

117.1k](/packages/degordian-yii2-webhooks)

PHPackages © 2026

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