PHPackages                             zakharov-andrew/yii2-category - 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. [Admin Panels](/categories/admin)
4. /
5. zakharov-andrew/yii2-category

ActiveYii2-extension[Admin Panels](/categories/admin)

zakharov-andrew/yii2-category
=============================

Yii2 Category

v0.0.3(2y ago)2101MITPHPPHP &gt;=7.3

Since Jan 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ZakharovAndrew/yii2-category)[ Packagist](https://packagist.org/packages/zakharov-andrew/yii2-category)[ RSS](/packages/zakharov-andrew-yii2-category/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (6)Used By (0)

Yii2 Category
=============

[](#yii2-category)

[![Latest Stable Version](https://camo.githubusercontent.com/7236af9200dc0eb24416c6605244ba8ce47632c5b5d2ee81a600f0a0027ba062/68747470733a2f2f706f7365722e707567782e6f72672f7a616b6861726f762d616e647265772f796969322d63617465676f72792f762f737461626c65)](https://packagist.org/packages/zakharov-andrew/yii2-category)[![License](https://camo.githubusercontent.com/8c558f313dbbfec1e620479b7a45d2881e3005520f179f2c49d1725b3ac57c6f/68747470733a2f2f706f7365722e707567782e6f72672f7a616b6861726f762d616e647265772f796969322d63617465676f72792f6c6963656e7365)](https://packagist.org/packages/zakharov-andrew/yii2-category)[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

This extension allows you to add categories to your app.

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

[](#installation)

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

Either run

```
$ composer require zakharov-andrew/yii2-category

```

or add

```
"zakharov-andrew/yii2-category": "*"

```

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

Subsequently, run

```
./yii migrate/up --migrationPath=@vendor/zakharov-andrew/yii2-category/migrations

```

in order to create the settings table in your database.

Or add to console config

```
return [
    // ...
    'controllerMap' => [
        // ...
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => [
                '@console/migrations', // Default migration folder
                '@vendor/zakharov-andrew/yii2-category/src/migrations'
            ]
        ]
        // ...
    ]
    // ...
];
```

Usage
-----

[](#usage)

Add this to your main configuration's modules array

```
    'modules' => [
        'category' => [
            'class' => 'ZakharovAndrew\category\Module',
            'bootstrapVersion' => 5, // if use bootstrap 5
        ],
        // ...
    ],

```

License
-------

[](#license)

**yii2-category** it is available under a MIT License. Detailed information can be found in the `LICENSE.md`.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 85.7% 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 ~181 days

Total

3

Last Release

856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08ab00e707ea2dd0f8703587f1b770398b9662c98da6738d7a5e14c13caa1a8a?d=identicon)[ZakharovAndrew](/maintainers/ZakharovAndrew)

---

Top Contributors

[![ZakharovAndrew](https://avatars.githubusercontent.com/u/37038505?v=4)](https://github.com/ZakharovAndrew "ZakharovAndrew (12 commits)")[![MariaZakharovaCoding](https://avatars.githubusercontent.com/u/169131500?v=4)](https://github.com/MariaZakharovaCoding "MariaZakharovaCoding (2 commits)")

---

Tags

yii2yii2-categoryyii2-modulesyii2extensionmoduleadmincategoriesyii 2category

### Embed Badge

![Health badge](/badges/zakharov-andrew-yii2-category/health.svg)

```
[![Health](https://phpackages.com/badges/zakharov-andrew-yii2-category/health.svg)](https://phpackages.com/packages/zakharov-andrew-yii2-category)
```

###  Alternatives

[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[yiister/yii2-gentelella

Free admin template for backend

277278.3k5](/packages/yiister-yii2-gentelella)

PHPackages © 2026

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