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

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

frenzelgmbh/cm-entity
=====================

Common Entity Module for yii2

020PHP

Since Jun 9Pushed 11y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

cm-entity
=========

[](#cm-entity)

Common Entity Module (Frenzel GmbH 2014) v.0.1

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

[](#installation)

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

```
"frenzelgmbh/cmentity":"*"

```

```
php yii migrate --migrationPath=@vendor/frenzelgmbh/cm-entity/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.

```
'entity'=>[
  'class' => 'frenzelgmbh\cmentity\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 Entity module is use to store Entity/location informations, 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))
- mod\_id (which should hold the primarey key of the referenced record INTEGER(11))

Our Entity Model is based upon an article of "flexible entity design patterns" and is focused on relations between entities while keeping each entity as a unique one.

Widgets
=======

[](#widgets)

The "create"-Button:

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

The "related"-Grid:

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

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 (34 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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