PHPackages                             nullref/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. [Framework](/categories/framework)
4. /
5. nullref/yii2-category

ActiveYii2-extension[Framework](/categories/framework)

nullref/yii2-category
=====================

v0.0.2(7y ago)111.0k7[2 issues](https://github.com/NullRefExcep/yii2-category/issues)MITPHPPHP &gt;=5.5.0

Since Oct 5Pushed 6y ago5 watchersCompare

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

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

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

[](#yii2-category)

[![Latest Stable Version](https://camo.githubusercontent.com/1ae34ee92d776be709821a9e2d2e8aec00217842bcffab13887eee0d4d958d3a/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d63617465676f72792f762f737461626c65)](https://packagist.org/packages/nullref/yii2-category) [![Total Downloads](https://camo.githubusercontent.com/2946ae9122202797f499eafdb860c551fe2421e74e65ddff2d66ca9d1a0db91c/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d63617465676f72792f646f776e6c6f616473)](https://packagist.org/packages/nullref/yii2-category) [![Latest Unstable Version](https://camo.githubusercontent.com/df9ec21241a256472e0f2c902bb6ce226c4eff2b80f738585c9513f3b9c93ab0/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d63617465676f72792f762f756e737461626c65)](https://packagist.org/packages/nullref/yii2-category) [![License](https://camo.githubusercontent.com/6719c59eef29d8730493341e8b43af72d9771f17ebd4f386b933b87e6e2ead69/68747470733a2f2f706f7365722e707567782e6f72672f6e756c6c7265662f796969322d63617465676f72792f6c6963656e7365)](https://packagist.org/packages/nullref/yii2-category)

Module for categories (WIP)

[![](https://raw.githubusercontent.com/NullRefExcep/yii2-category/master/docs/assets/screen-demo.gif)](https://raw.githubusercontent.com/NullRefExcep/yii2-category/master/docs/assets/screen-demo.gif)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist nullref/yii2-category "*"

```

or add

```
"nullref/yii2-category": "*"

```

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

Then You have run console command for install this module:

```
php yii module/install nullref/yii2-category

```

and module will be added to your application config (`@app/config/installed_modules.php`)

Pay attention that if you don't use our [application template](https://github.com/NullRefExcep/yii2-boilerplate)it needs to change config files structure to have ability run commands that show above.

Please check this [documentation section](https://github.com/NullRefExcep/yii2-core#config-structure)

[![](https://raw.githubusercontent.com/NullRefExcep/yii2-category/master/docs/assets/core-install.gif)](https://raw.githubusercontent.com/NullRefExcep/yii2-category/master/docs/assets/core-install.gif)

Module integration
------------------

[](#module-integration)

If you need additional information about integration current module with your project, please check [example folder](https://github.com/NullRefExcep/yii2-category/tree/master/docs/examples)

Using with admin module
-----------------------

[](#using-with-admin-module)

You can use this module with modules:

- [Yii2 Admin](https://github.com/NullRefExcep/yii2-admin).
- [Yii2 Full Admin](https://github.com/NullRefExcep/yii2-full-admin).

Models overriding
-----------------

[](#models-overriding)

```
    'category' => [
        'class' => 'nullref\category\Module',
        'classMap' => [
            'Category' => 'app\models\Category',
            'CategoryQuery' => 'app\models\CategoryQuery',
        ],
    ],
```

Also you have to add module to bootstrap list of application:

```
...
'bootstrap' => ['category',...],
...
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91% 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 ~712 days

Total

2

Last Release

2799d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.4.0

v0.0.2PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5e9417df48f462cf27e16429bed321f138e1db5b943c6b026aab97b86b42b55?d=identicon)[ZAYEC77](/maintainers/ZAYEC77)

---

Top Contributors

[![ZAYEC77](https://avatars.githubusercontent.com/u/4509483?v=4)](https://github.com/ZAYEC77 "ZAYEC77 (61 commits)")[![tenfrow](https://avatars.githubusercontent.com/u/7600781?v=4)](https://github.com/tenfrow "tenfrow (4 commits)")[![lijkbezorger](https://avatars.githubusercontent.com/u/12811869?v=4)](https://github.com/lijkbezorger "lijkbezorger (2 commits)")

---

Tags

yii2yii2-extensionyii2-modules

### Embed Badge

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

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

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[yii2-starter-kit/yii2-starter-kit

Yii2 Starter Kit Application Template

1.4k6.6k](/packages/yii2-starter-kit-yii2-starter-kit)[thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

1777.7k](/packages/thiagotalma-yii2-fullcalendar)[arogachev/yii2-sortable

Sortable ActiveRecord for Yii 2 framework

1637.0k4](/packages/arogachev-yii2-sortable)

PHPackages © 2026

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