PHPackages                             daxslab/yii2-website-module - 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. daxslab/yii2-website-module

ActiveYii2-extension[Admin Panels](/categories/admin)

daxslab/yii2-website-module
===========================

Yii2 module to manage website content. Kind of a CMS...

1.0.15(5y ago)525711MITPHP

Since Nov 22Pushed 4y ago2 watchersCompare

[ Source](https://github.com/daxslab/yii2-website-module)[ Packagist](https://packagist.org/packages/daxslab/yii2-website-module)[ RSS](/packages/daxslab-yii2-website-module/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (13)Versions (18)Used By (1)

Yii2 Website Module
===================

[](#yii2-website-module)

[![Latest Stable Version](https://camo.githubusercontent.com/0877899321a028114ebddd5cd46a2aebeef0627f9a50fc8e4e9911894079a793/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d776562736974652d6d6f64756c652f762f737461626c652e737667)](https://packagist.org/packages/daxslab/yii2-website-module)[![Total Downloads](https://camo.githubusercontent.com/e0be92521424a204e290b960eb1553831ab2efb582fc4ce833fdea733f882e1f/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d776562736974652d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/daxslab/yii2-website-module)[![Latest Unstable Version](https://camo.githubusercontent.com/04e92fe6e6488771374e6a19990d9084ac03a0fb9dbd8f0d9703c447fe0caac3/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d776562736974652d6d6f64756c652f762f756e737461626c652e737667)](https://packagist.org/packages/daxslab/yii2-website-module)[![License](https://camo.githubusercontent.com/34649bcd4bbd9a8eb38fa20d00fc3e36f90c4226bd21d786cf8937ebd2850804/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d776562736974652d6d6f64756c652f6c6963656e73652e737667)](https://packagist.org/packages/daxslab/yii2-website-module)

Yii2 module to implement a website.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist daxslab/yii2-website-module "*"

```

or add

```
"daxslab/yii2-website-module": "*"

```

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

Introduction
------------

[](#introduction)

Website tries to be an unobstrusive CMS without limiting the capabilities of Yii2 framework as development platform. The idea is that you can add website features to an existing application, or just create a website based on Yii2 framework.

The idea behind **Website** module is a bit different compared with other CMS. While generally pages, posts and categories are managed, in **Website** everything is a page and every page can have children pages so,

- a page without subpages can be considered a regular *page*
- a page with subpages can be considered a *category*
- a subpage can be considered a *post*

The resulting tree can then have wathever depth is required.

Besides pages, **Website** also manages Media: any attached file that can be referenced in the resulting website. The module handles the uploading process.

Also you can manage Menus with **Website** module. For every menu you can create menu items and this than be pointed to any URL. When creating a menu item you either type the label and URL, or select from existing pages.

Configuration
-------------

[](#configuration)

Website is meant to be used with the Yii2 Advanced Application template. Some modification could be done to make it usable with basic template.

### Module

[](#module)

First configure the module for all the apps in common/config/main.php

```
//...
'modules' => [
	'website' => [
		'class' => daxslab\website\Module::class,
		'languages' => ['en', 'es', 'it'],
		'token' => 'some-string-here'
	]
]
//...

```

Here notice the specified attributes:

- languages: array with the languages that will be active for creating content
- token: string identifying every website in case that several are used.

### Database

[](#database)

It is assumed that you are using some database and that the connection to it it's already set. Configure migrations in console/config/main.php

```
//...
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [
            'daxslab\website\migrations',
        ]
    ],
],
//...

```

### Controllers

[](#controllers)

Configure controllers namespaces for the module in each app. Let's start with frontend/config/main.php

```
//...
'modules' => [
	'website' => [
		'controllerNamespace' => 'daxslab\website\controllers\frontend'
	]
]
//...

```

And similar for backend/config/main.php

```
//...
'modules' => [
	'website' => [
		'controllerNamespace' => 'daxslab\website\controllers\backend'
	]

]
//...

```

Usage
-----

[](#usage)

The module provides two sets of controllers: frontend and backend.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 95.1% 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 ~31 days

Recently: every ~46 days

Total

16

Last Release

1940d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13596248?v=4)[Gabriel Alejandro López López](/maintainers/glpzzz)[@glpzzz](https://github.com/glpzzz)

![](https://avatars.githubusercontent.com/u/3727802?v=4)[Carlos Cesar Caballero Díaz](/maintainers/cccaballero)[@cccaballero](https://github.com/cccaballero)

---

Top Contributors

[![glpzzz](https://avatars.githubusercontent.com/u/13596248?v=4)](https://github.com/glpzzz "glpzzz (39 commits)")[![cccaballero](https://avatars.githubusercontent.com/u/3727802?v=4)](https://github.com/cccaballero "cccaballero (2 commits)")

---

Tags

cmscontentmodulepageswebsiteyii2websitecmsyii2module

### Embed Badge

![Health badge](/badges/daxslab-yii2-website-module/health.svg)

```
[![Health](https://phpackages.com/badges/daxslab-yii2-website-module/health.svg)](https://phpackages.com/packages/daxslab-yii2-website-module)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13725.7k53](/packages/skeeks-cms)

PHPackages © 2026

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