PHPackages                             sorokinmedia/yii2-promocodes - 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. sorokinmedia/yii2-promocodes

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

sorokinmedia/yii2-promocodes
============================

Promocodes component for Yii2

190PHP

Since Jan 5Pushed 6y ago5 watchersCompare

[ Source](https://github.com/sorokinmedia/yii2-promocodes)[ Packagist](https://packagist.org/packages/sorokinmedia/yii2-promocodes)[ RSS](/packages/sorokinmedia-yii2-promocodes/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-promocodes
===============

[](#yii2-promocodes)

Система работы с промокодами для Yii2

[![Total Downloads](https://camo.githubusercontent.com/3ec02346734f0a3cceef0b42efbe572ff33f9c9b8c8267f9782f472f30ea1f01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f726f6b696e6d656469612f796969322d70726f6d6f636f6465732e737667)](https://packagist.org/packages/sorokinmedia/yii2-promocodes)[![Build Status](https://camo.githubusercontent.com/83403a9b72dc8fe101f6d69247a685025810afaa02f04ff0dbbc9f323377c1c4/68747470733a2f2f7472617669732d63692e6f72672f736f726f6b696e6d656469612f796969322d70726f6d6f636f6465732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sorokinmedia/yii2-promocodes)

Описание
--------

[](#описание)

Компонент позволяет работать с промокодами двух видов:

- промокод привязанный к сумме пополнения
- промокод дающий фиксированную скидку на товар при покупке

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

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

Настройка
---------

[](#настройка)

Translation
-----------

[](#translation)

Use `Yii::t('app-sm-promocodes', '')` for messages which need to be translated.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity34

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://avatars.githubusercontent.com/u/6071315?v=4)[Ruslan Gilyazetdinov](/maintainers/Ma3oBblu)[@Ma3oBblu](https://github.com/Ma3oBblu)

---

Top Contributors

[![Ma3oBblu](https://avatars.githubusercontent.com/u/6071315?v=4)](https://github.com/Ma3oBblu "Ma3oBblu (67 commits)")

### Embed Badge

![Health badge](/badges/sorokinmedia-yii2-promocodes/health.svg)

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

PHPackages © 2026

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