PHPackages                             frenzelgmbh/cm-categories - 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. frenzelgmbh/cm-categories

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

frenzelgmbh/cm-categories
=========================

Common Address Module for yii2

061PHP

Since Jul 25Pushed 10y ago2 watchersCompare

[ Source](https://github.com/FrenzelGmbH/cm-categories)[ Packagist](https://packagist.org/packages/frenzelgmbh/cm-categories)[ RSS](/packages/frenzelgmbh-cm-categories/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

cm-categories
=============

[](#cm-categories)

Common Categories Module (Frenzel GmbH 2014) v.0.1

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

[](#installation)

Add the following line to your composer.json require section:

```
"frenzelgmbh/cmcategories":"*"

```

```
php yii migrate --migrationPath=@vendor/frenzelgmbh/cm-categories/migrations

```

Inside your yii-config, pls. add the following lines to your modules section. As you might see, the gridview needs to be implemented too.

```
'cmcategories'=>[
  'class' => 'frenzelgmbh\cmcategories\Module',
],
'gridview' =>  [
  'class' => '\kartik\grid\Module'
],

```

After this, you should be able to see the set of build in widgets and options under:

Design
======

[](#design)

The Categories module is use to store categories, that can be linked to any other "module". So in general all modules are referenced by:

- mod\_table (which should hold the table name VARCHAR(100))

ATTENTION: be carefull with the order of the modules, that you register as the order is relevant for the connection to this module. Categories can be assigned to each module, that you configure within your app config.

Datastructure
=============

[](#datastructure)

This module allows you to store cmcategories data related to any other "record" and "module" you pass by as parameters. It allows you to save 1:n cmcategories records, while one record of cmcategories can be filled with the following fields:

- Parent (self reference)
- Name Pls. notice, that records aren't deleted in all of our models, they just get marked as deleted!

Widgets
=======

[](#widgets)

The "create"-Button:

```
if(class_exists('\frenzelgmbh\cmcategories\widgets\CreateCategoriesModal')){
  echo \frenzelgmbh\cmcategories\widgets\CreateCategoriesModal::widget(array(
    'module'      => 'tbl_test',
    'id'          => 1
  ));
}
```

The "related"-Grid:

```
if(class_exists('\frenzelgmbh\cmcategories\widgets\RelatedCategoriesGrid')){
  echo \frenzelgmbh\cmcategories\widgets\RelatedCategoriesGrid::widget(array(
    'module'      => 'tbl_test',
    'id'          => 1
  ));
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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/551abd4470d98ae959df06678c17aef3e8ac35187884a2872e79c77e040b5c8b?d=identicon)[philippfrenzel](/maintainers/philippfrenzel)

---

Top Contributors

[![philippfrenzel](https://avatars.githubusercontent.com/u/2319890?v=4)](https://github.com/philippfrenzel "philippfrenzel (38 commits)")

### Embed Badge

![Health badge](/badges/frenzelgmbh-cm-categories/health.svg)

```
[![Health](https://phpackages.com/badges/frenzelgmbh-cm-categories/health.svg)](https://phpackages.com/packages/frenzelgmbh-cm-categories)
```

###  Alternatives

[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[typo3/cms-reports

TYPO3 CMS Reports - Show status reports and installed services in the (System&gt;Reports) backend module.

137.1M58](/packages/typo3-cms-reports)[lcharette/uf_formgenerator

Form generator for UserFrosting V5

178.7k3](/packages/lcharette-uf-formgenerator)

PHPackages © 2026

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