PHPackages                             wdmg/yii2-votes - 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. wdmg/yii2-votes

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

wdmg/yii2-votes
===============

User voting module

0.0.10(6y ago)350031MITPHP

Since May 25Pushed 5y ago3 watchersCompare

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

READMEChangelogDependencies (2)Versions (11)Used By (1)

[![Yii2](https://camo.githubusercontent.com/dccea8d8aeed2f3bbad8d539958795bf54a03a62c61f496084516c1b1845a9ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72657175697265642d596969325f76322e302e33332d626c75652e737667)](https://packagist.org/packages/yiisoft/yii2)[![Downloads](https://camo.githubusercontent.com/7f0d6e681201d1b5f198d2596aef616b2ae0dfa557458bd4f6214e3b021b236a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77646d672f796969322d766f7465732e737667)](https://packagist.org/packages/wdmg/yii2-votes)[![Packagist Version](https://camo.githubusercontent.com/1df148b18efcfeabd3675dce395f3c430358d387a0956104b0717fbf3c4ce66e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77646d672f796969322d766f7465732e737667)](https://packagist.org/packages/wdmg/yii2-votes)[![Progress](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)[![GitHub license](https://camo.githubusercontent.com/f2812a18bc7d4326b430f455ae8e9dc58e086d2dbe7100d6656a5943ef07045c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77646d672f796969322d766f7465732e737667)](https://github.com/wdmg/yii2-votes/blob/master/LICENSE)

Yii2 User votes
===============

[](#yii2-user-votes)

System of accounting user votes

Requirements
============

[](#requirements)

- PHP 5.6 or higher
- Yii2 v.2.0.33 and newest
- [Yii2 Base](https://github.com/wdmg/yii2-base) module (required)
- [Yii2 Users](https://github.com/wdmg/yii2-users) module (optionaly)

Installation
============

[](#installation)

To install the module, run the following command in the console:

`$ composer require "wdmg/yii2-votes"`

After configure db connection, run the following command in the console:

`$ php yii votes/init`

And select the operation you want to perform:

1. Apply all module migrations
2. Revert all module migrations

Migrations
==========

[](#migrations)

In any case, you can execute the migration and create the initial data, run the following command in the console:

`$ php yii migrate --migrationPath=@vendor/wdmg/yii2-votes/migrations`

Configure
=========

[](#configure)

To add a module to the project, add the following data in your configuration file:

```
'modules' => [
    ...
    'votes' => [
        'class' => 'wdmg\votes\Module',
        'routePrefix' => 'admin'
    ],
    ...
],

```

Routing
=======

[](#routing)

Use the `Module::dashboardNavItems()` method of the module to generate a navigation items list for NavBar, like this:

```

```

Status and version \[in progress development\]
==============================================

[](#status-and-version-in-progress-development)

- v.0.0.10 - Update README.md and dependencies versions
- v.0.0.9 - Fixed deprecated class declaration
- v.0.0.8 - Added extra options to composer.json and navbar menu icon
- v.0.0.7 - Added choice param for non interactive mode

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

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

Recently: every ~81 days

Total

10

Last Release

2206d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1635637?v=4)[Alexsander Vyshnyvetskyy](/maintainers/alex-wdmg)[@alex-wdmg](https://github.com/alex-wdmg)

---

Top Contributors

[![alex-wdmg](https://avatars.githubusercontent.com/u/1635637?v=4)](https://github.com/alex-wdmg "alex-wdmg (21 commits)")

---

Tags

yii2votingvotewdmgvotesyii2-votes

### Embed Badge

![Health badge](/badges/wdmg-yii2-votes/health.svg)

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

###  Alternatives

[hauntd/yii2-vote

Votes, likes, favorites.

383.1k](/packages/hauntd-yii2-vote)

PHPackages © 2026

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