PHPackages                             culture-pn-psu/yii2-cms - 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. culture-pn-psu/yii2-cms

ActiveYii2-extension

culture-pn-psu/yii2-cms
=======================

Yii 2 CMS from culture-pn-psu Tech

08PHP

Since Mar 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/culture-pn-psu/yii2-cms)[ Packagist](https://packagist.org/packages/culture-pn-psu/yii2-cms)[ RSS](/packages/culture-pn-psu-yii2-cms/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-cms
========

[](#yii2-cms)

Yii 2 CMS from Anda Tech

#### Main config

[](#main-config)

```
    ...
    'bootstrap' => [
        'log',
        'web-admin',
    ],
    ...
    'modules' => [
      'web-admin' => [
        'class' => 'culturePnPsu\cms\Module',
        'tablePrefix' => 'web_',
        'uploadDir' => '@uploads/web-cms/',
        'uploadUrl' => '/uploads/anda-cms'
      ]
    ],
    'components' => [
      ...
      'andacms' => [
        'class' => 'culturePnPsu\cms\components\API',
      ],
      ...
    ]
```

#### Sample Controller

[](#sample-controller)

```
    public function actionIndex()
    {
        $model = Yii::$app->andacms->getChildModule('news');
        $searchModel = $model->getSearchModel();
        $dataProvider = $model->getDataProvider();

        return $this->render('index',[
            'dataProvider' => $dataProvider,
            'searchModel' => $searchModel,
        ]);
    }

    public function actionView($id)
    {
        $model = Yii::$app->andacms->getChildModule('news')->view($id);
        if (Yii::$app->request->isAjax){
            return $this->renderAjax('view',[
                'model' => $model
            ]);
        }
        return $this->render('view',[
            'model' => $model
        ]);
    }

    public function actionFrontpage()
    {
        $render = Data::cache('frontpage'.ucfirst($this->id), 3600, function(){
            $model = Yii::$app->andacms->getChildModule($this->id);
            $model->getSearchModel();
            $dataProvider = $model->getDataProvider();
            $dataProvider->pagination->pageSize=$this->frontpageLimitItems;

            return $this->renderPartial('frontpage',[
                'dataProvider' => $dataProvider
            ]);
        });

        return $render;
    }

    public function actionCategory($id)
    {
        $categoryModel = Yii::$app->andacms->getChildModule('category')->get($id);

        $searchModel = Yii::$app->andacms->getChildModule($this->id)->getSearchModel();
        $dataProvider = $searchModel->search(Yii::$app->request->getQueryParams());
        $dataProvider->query->andFilterWhere(['category_id' => $id]);

        return $this->render('category',[
            'dataProvider' => $dataProvider,
            'searchModel' => $searchModel,
            'categoryModel' => $categoryModel
        ]);
    }
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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/0d6e22c84850458304b5e06e01829622a1a97459c9ee7aaf738dd07bd5c559ab?d=identicon)[madone](/maintainers/madone)

---

Top Contributors

[![firdows](https://avatars.githubusercontent.com/u/18734077?v=4)](https://github.com/firdows "firdows (13 commits)")

### Embed Badge

![Health badge](/badges/culture-pn-psu-yii2-cms/health.svg)

```
[![Health](https://phpackages.com/badges/culture-pn-psu-yii2-cms/health.svg)](https://phpackages.com/packages/culture-pn-psu-yii2-cms)
```

PHPackages © 2026

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