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

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

wdmg/yii2-likes
===============

System of accounting user likes

0.0.12(6y ago)250721MITPHP

Since Mar 24Pushed 3y ago3 watchersCompare

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

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

[![Yii2](https://camo.githubusercontent.com/dccea8d8aeed2f3bbad8d539958795bf54a03a62c61f496084516c1b1845a9ee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72657175697265642d596969325f76322e302e33332d626c75652e737667)](https://packagist.org/packages/yiisoft/yii2)[![Downloads](https://camo.githubusercontent.com/741c2b1ffea855754917acdfd25b8f36e49c4558321d0c2a5255d13901b4f0fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77646d672f796969322d6c696b65732e737667)](https://packagist.org/packages/wdmg/yii2-likes)[![Packagist Version](https://camo.githubusercontent.com/27acdf910075e15e5576cdf4f10f33cfbd2bad7925136d746e71a74249ff65d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77646d672f796969322d6c696b65732e737667)](https://packagist.org/packages/wdmg/yii2-likes)[![Progress](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)](https://camo.githubusercontent.com/315c55c18b58f54e699e6de550cbbec72c9adeebced7d22e2822458e07822fb3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70726f67726573732d696e5f646576656c6f706d656e742d7265642e737667)[![GitHub license](https://camo.githubusercontent.com/ca6f131ca4bd5ab30e8aa4ce0f7054e0fcdb312bbbc4c129c1e550c0ec94e026/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77646d672f796969322d6c696b65732e737667)](https://github.com/wdmg/yii2-likes/blob/master/LICENSE)

Yii2 User likes
===============

[](#yii2-user-likes)

System of accounting user likes

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-likes"`

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

`$ php yii likes/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-likes/migrations`

Configure
=========

[](#configure)

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

```
'modules' => [
    ...
    'likes' => [
        'class' => 'wdmg\likes\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.12 - Update README.md and dependencies versions
- v.0.0.11 - Fixed deprecated class declaration
- v.0.0.10 - Added extra options to composer.json and navbar menu icon
- v.0.0.9 - Added choice param for non interactive mode

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

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

Recently: every ~81 days

Total

11

Last Release

2250d 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 (35 commits)")

---

Tags

yii2wdmgyii2-likesuser likes

### Embed Badge

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

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

PHPackages © 2026

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