PHPackages                             mrstroz/yii2-wavecms - 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. mrstroz/yii2-wavecms

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

mrstroz/yii2-wavecms
====================

Yii2 WaveCMS

0.2.14(4y ago)3447[1 issues](https://github.com/mrstroz/yii2-wavecms/issues)[9 PRs](https://github.com/mrstroz/yii2-wavecms/pulls)5MITPHPPHP &gt;=5.6.0

Since Nov 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mrstroz/yii2-wavecms)[ Packagist](https://packagist.org/packages/mrstroz/yii2-wavecms)[ RSS](/packages/mrstroz-yii2-wavecms/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (10)Versions (34)Used By (5)

yii2-wavecms
============

[](#yii2-wavecms)

Yii2 WaveCMS

**It is recommended to install on [Yii 2 Advanced Project Template](https://github.com/yiisoft/yii2-app-advanced)**

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

[](#installation)

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

Run

```
composer require --prefer-source "mrstroz/yii2-wavecms" "~0.2.5"

```

or add

```
"mrstroz/yii2-wavecms": "~0.2.5"

```

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

Required steps
--------------

[](#required-steps)

1. Update `backend/config/main.php` (Yii2 advanced template)

```
'modules' => [
    // ...
    'wavecms' => [
        'class' => 'mrstroz\wavecms\Module',
        'languages' => ['en','pl']
    ],
],
// ...
'components' => [
    // ...
    'user' => [
        'identityClass' => 'mrstroz\wavecms\models\User', //Change identity class
        // ...
    ],
]
// ...
'controllerMap' => [
    'elfinder' => [
        'class' => 'mihaildev\elfinder\Controller',
        'access' => ['@'],
        'disabledCommands' => ['netmount'],
        'roots' => [
            [
                'baseUrl'=>'@frontWeb',
                'basePath'=>'@frontWebroot',
                'path' => 'userfiles',
                'name' => 'Files'
            ]
        ]
    ]
]
```

2. Uncomment `urlManager` section in `backend/config/main.php` and add .htaccess
3. Update `common/config/main.php` (Yii2 advanced template)

```
'components' => [
    'authManager' => [
        'class' => 'yii\rbac\DbManager',
    ],
]
```

4. Run migration

Add the `migrationPath` in `console/config/main.php` and run `yii migrate`:

```
// Add migrationPaths to console config:
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationPath' => [
            '@app/migrations',
            '@yii/rbac/migrations/',
            '@yii/i18n/migrations/',
            '@vendor/mrstroz/yii2-wavecms/migrations/',
            '@vendor/yii2mod/yii2-settings/migrations/'
        ],
    ],
],
```

Or run migrates directly

```
yii migrate --migrationPath=@yii/rbac/migrations
yii migrate --migrationPath=@yii/i18n/migrations/
yii migrate --migrationPath=@vendor/mrstroz/yii2-wavecms/migrations
yii migrate --migrationPath=@vendor/yii2mod/yii2-settings/migrations

```

5. Update `console/config/main.php` (Yii2 advanced template)

```
'modules' => [
    // ...
    'wavecms' => [
        'class' => 'mrstroz\wavecms\Module'
    ],
],
```

6. Add new WaveCMS user

```
yii wavecms/create [email] [password]

```

Overriding classes
------------------

[](#overriding-classes)

Classes can be overridden by:

1. `classMap` attribute for WaveCMS module

```
'modules' => [
    // ...
    'wavecms' => [
        'class' => 'mrstroz\wavecms\Module',
        'languages' => ['en','pl'],
        'classMap' => [
            'User' => \common\models\User::class
        ]
    ],
],
```

2. Yii2 Dependency Injection configuration in `backend/config/main.php`

```
'container' => [
    'definitions' => [
        mrstroz\wavecms\models\User::class => common\models\User::class
    ],
],
```

Overriding controllers
----------------------

[](#overriding-controllers)

Use `controllerMap` attribute for WaveCMS module to override controllers

```
'modules' => [
    // ...
    'wavecms' => [
        'class' => 'mrstroz\wavecms\Module',
        'languages' => ['en','pl'],
        'controllerMap' => [
            'user' => 'backend\controllers\UserController'
        ]
    ],
],
```

Overriding views
----------------

[](#overriding-views)

Use **[themes](http://www.yiiframework.com/doc-2.0/guide-output-theming.html)** for override views

```
'components' => [
    // ...
    'view' => [
        'theme' => [
            'basePath' => '@app/themes/basic',
            'baseUrl' => '@web/themes/basic',
            'pathMap' => [
                '@wavecms/views' => '@app/themes/basic/wavecms',
            ],
        ],
    ],
    // ...
],
```

Multilingual
------------

[](#multilingual)

1. Many languages can be handle by [yii2-localeurls](https://github.com/codemix/yii2-localeurls). Follow all steps from Locale Urls installation.
2. Set CMS languages in `backend/config/main.php` for WaveCMS module

```
'modules' => [
    // ...
    'wavecms' => [
        'class' => 'mrstroz\wavecms\Module',
        'languages' => ['en','pl']
    ],
    // ...
]
```

3. Configure message sources [see docs](http://www.yiiframework.com/doc-2.0/guide-tutorial-i18n.html#2-configure-one-or-multiple-message-sources)

```
'components' => [
    // ...
    'i18n' => [
        'translations' => [
            '*' => [
                'class' => 'yii\i18n\DbMessageSource',
            ],
        ],
    ],
],
```

4. Use `message` command to add translations added in templates

```
yii message/config-template path/to/config.php
yii message path/to/config.php

```

Shared hosting
--------------

[](#shared-hosting)

For **shared hosting**, copy and replace `environments` folder from `vendor/mrstroz/wavecms` and type `php init`. Frontend url: `/public`, Backend url: `/public/admin`

Available WaveCMS modules
-------------------------

[](#available-wavecms-modules)

[Page](https://github.com/mrstroz/yii2-wavecms-page) (home page, text pages, menu) -

[Example](https://github.com/mrstroz/yii2-wavecms-example) (example module) -

[Form](https://github.com/mrstroz/yii2-wavecms-form) (form module) -

> [![INWAVE LOGO](https://camo.githubusercontent.com/dd651104b679d7f1c3fa448d7e1f0de05d5bc2ccb90276dd7dd3f81eff8c8187/687474703a2f2f696e776176652e706c2f68746d6c2f696d672f6c6f676f2e706e67)](https://camo.githubusercontent.com/dd651104b679d7f1c3fa448d7e1f0de05d5bc2ccb90276dd7dd3f81eff8c8187/687474703a2f2f696e776176652e706c2f68746d6c2f696d672f6c6f676f2e706e67)
> INWAVE - Internet Software House
> [inwave.eu](http://inwave.eu/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.6% 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 ~56 days

Recently: every ~205 days

Total

24

Last Release

1779d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.4.0

0.1.5PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/771899?v=4)[Mariusz Stróż](/maintainers/mrstroz)[@mrstroz](https://github.com/mrstroz)

---

Top Contributors

[![mrstroz](https://avatars.githubusercontent.com/u/771899?v=4)](https://github.com/mrstroz "mrstroz (88 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")

### Embed Badge

![Health badge](/badges/mrstroz-yii2-wavecms/health.svg)

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

###  Alternatives

[nenad/yii2-advanced-template

Improved Yii 2 Advanced Application Template By Nenad Zivkovic

9211.1k](/packages/nenad-yii2-advanced-template)[infoweb-internet-solutions/yii2-cms

CMS module for Yii2

461.7k8](/packages/infoweb-internet-solutions-yii2-cms)

PHPackages © 2026

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