PHPackages                             bscheshirwork/yii2-gui-acyclic-graphs - 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. bscheshirwork/yii2-gui-acyclic-graphs

ActiveLibrary[Admin Panels](/categories/admin)

bscheshirwork/yii2-gui-acyclic-graphs
=====================================

Yii 2 model management GUI interface

2.0.8(7y ago)021BSD-3-ClausePHPPHP &gt;=7.1.0

Since Jul 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bscheshirwork/yii2-gui-acyclic-graphs)[ Packagist](https://packagist.org/packages/bscheshirwork/yii2-gui-acyclic-graphs)[ Docs](https://github.com/bscheshirwork/yii2-gui-acyclic-graphs)[ RSS](/packages/bscheshirwork-yii2-gui-acyclic-graphs/feed)WikiDiscussions master Synced yesterday

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

Graph for parent-child representation relations on self-relates activeRecord
----------------------------------------------------------------------------

[](#graph-for-parent-child-representation-relations-on-self-relates-activerecord)

i.e. for next composition

```
/**
 * @property MainModel[] $parents
 * @property MainModel[] $childs
 */
class MainModel extends \yii\db\ActiveRecord
{
    var $id;
}
/**
 * @property MainModel $parent
 * @property MainModel $child
 */
class RelationModel extends \yii\db\ActiveRecord
{
    var $parentId;
    var $childId;
}
```

via table property can be prefixed `parent`, `child`, can accept complex pk;

graphical representation and actions:

[![default](https://user-images.githubusercontent.com/5769211/28527000-eab0b6c2-7091-11e7-8efd-f1beb47f7d22.png)](https://user-images.githubusercontent.com/5769211/28527000-eab0b6c2-7091-11e7-8efd-f1beb47f7d22.png)

similar at [githubjeka/yii2-gui-rbac](https://github.com/githubjeka/gui-rbac-yii2)

[![http://i.imgur.com/BXTKymp.jpg](https://camo.githubusercontent.com/49eb9caa4f1c9cbdc32c20f2d97193bec5290d2aeed6ee81bb342140bb64524e/687474703a2f2f692e696d6775722e636f6d2f4258544b796d702e6a7067)](https://camo.githubusercontent.com/49eb9caa4f1c9cbdc32c20f2d97193bec5290d2aeed6ee81bb342140bb64524e/687474703a2f2f692e696d6775722e636f6d2f4258544b796d702e6a7067)

How to install
--------------

[](#how-to-install)

Follow the commands:

- Add to your composer.json `"bscheshirwork/yii2-gui-acyclic-graphs": "*@dev"`
- Run `composer update`
- Add to `config` the code:

```
// '/config/web.php' for Basic or '/backend/config/main' - Advanced Yii2 application.
'modules' => [
    'gui' => [
        'class' => 'bscheshirwork\gui\Module',
        'as access' => [ // if you need to set access
            'class' => 'yii\filters\AccessControl',
            'rules' => [
                [
                    'allow' => true,
                    'roles' => ['@'] // all auth users
                ],
            ],
        ],
        'mainModel' => 'common\models\MainModel', // model, who have relations. (rectangles)
        'mainModelFormView' => '@backend/views/main-model/_form-gui', //Active form for MainModel. See @vendor/bscheshirwork/yii2-gui-acyclic-graphs/src/views/default/_form
        'relationModel' => 'common\models\RelationModel', // via model (arrows)
        'arrowDirection' => bscheshirwork\gui\Module::PARENT_TO_CHILD, // direction of arrow representation
    ],
],
```

- go to url `/index.php?r=gui`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~322 days

Total

2

Last Release

2890d ago

### Community

Maintainers

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

---

Top Contributors

[![githubjeka](https://avatars.githubusercontent.com/u/874234?v=4)](https://github.com/githubjeka "githubjeka (64 commits)")[![bscheshirwork](https://avatars.githubusercontent.com/u/5769211?v=4)](https://github.com/bscheshirwork "bscheshirwork (14 commits)")[![robotE13](https://avatars.githubusercontent.com/u/9063763?v=4)](https://github.com/robotE13 "robotE13 (2 commits)")

---

Tags

guiyii2

### Embed Badge

![Health badge](/badges/bscheshirwork-yii2-gui-acyclic-graphs/health.svg)

```
[![Health](https://phpackages.com/badges/bscheshirwork-yii2-gui-acyclic-graphs/health.svg)](https://phpackages.com/packages/bscheshirwork-yii2-gui-acyclic-graphs)
```

###  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)
