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

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

salehasadi/yii2-category
========================

Complete category management system

1281PHP

Since May 11Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

\#Categories Management Yii2 Module Complete category management module for Yii2 based web application, Ready to integrate

- Easy to install
- Create Unlimited Multilevel categories
- Category tree structure to visualize category depth
- Category Image
- Category SEO Meta (Title, keywords, Description)

### 1. Download

[](#1-download)

Yii2-categories can be installed using composer. Run following command to download and install Yii2-categories:

```
php composer.phar require salehasadi/yii2-category "dev-master"
```

### 2. Configure

[](#2-configure)

Add following lines to your main configuration file to access this module via web URL:

> **NOTE:** Along with category module you also need to configure redactor Module which installed as dependency in category module as below to add wysiwyg editor in category description.

```
'modules' => [
	'redactor' => 'yii\redactor\RedactorModule',
    'category' => [
        'class' => 'salehasadi\category\Module',
    ],
],
```

### 3. Update database schema

[](#3-update-database-schema)

The last thing you need to do is updating your database schema by applying the migrations. Make sure that you have properly configured `db` application component and run the following command:

```
$ php yii migrate/up --migrationPath=@vendor/salehasadi/yii2-category/migrations
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/50b313bf443355fdd9f77c32afdca156a4ba5ebca8c96a7aff014b3258fce626?d=identicon)[salehasadi50](/maintainers/salehasadi50)

---

Top Contributors

[![salehasadi50](https://avatars.githubusercontent.com/u/16367823?v=4)](https://github.com/salehasadi50 "salehasadi50 (6 commits)")

### Embed Badge

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

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

PHPackages © 2026

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