PHPackages                             startpl/t2cms-core - 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. startpl/t2cms-core

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

startpl/t2cms-core
==================

Multidomain &amp; Multilanguage CMS based on Yii2

1.0.0(5y ago)0171BSD-3-ClausePHP

Since Sep 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/startpl/t2cms-core)[ Packagist](https://packagist.org/packages/startpl/t2cms-core)[ RSS](/packages/startpl-t2cms-core/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (2)Used By (1)

T2 CMS
======

[](#t2-cms)

====== Multidomain &amp; Multilanguage CMS based on Yii2

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

[](#installation)

---

You can install T2CMS as a template, [ready-made Yii2 application](https://github.com/startpl/t2cms)

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

Either run

```
php composer.phar require --prefer-dist startpl/t2cms "*"

```

Then add to the console application config:

```
'modules' => [
    //..
    'user' => [
        'class' => 't2cms\user\console\Module',
    ],
    't2cms' => [
        'class' => 't2cms\base\console\Module',
    ],
    //..
]
```

Next, run the console command

```
yii t2cms/init

```

Preparing Application
---------------------

[](#preparing-application)

---

Add the application backend to the config:

##### Modules

[](#modules)

```
'modules' => [
    //...
    'manager' => [
        'class' => 't2cms\sitemanager\Module',
    ],
    'blog' => [
        'class' => 'startpl\t2cmsblog\backend\Module',
    ],
    'menu' => [
        'class' => 't2cms\menu\Module',
    ],
    'design' => [
        'class' => 't2cms\design\Module',
    ],
    'user' => [
        'class' => 't2cms\user\backend\Module',
    ],
    'module' => [
        'class' => 't2cms\module\Module',
    ],
    //...
],
```

##### Components

[](#components)

```
'components' => [
    'urlManager' => [
        'enablePrettyUrl' => true,
        'showScriptName' => false,
        'suffix' => '/',
        'rules' => [
            'manager' => 'manager/default/index',
            [
                'class' => 'yii\web\GroupUrlRule',
                'prefix' => 'manager',
                'rules' => [
                    '//' => 'manager//',
                    '/' => 'manager//index',
                    '/' => 'manager/default/',
                ],
            ],

            'blog' => 'blog/default/index',
            [
                'class' => 'yii\web\GroupUrlRule',
                'prefix' => 'blog',
                'rules' => [
                    '/pages' => 'blog/pages/index',
                    '/pages/' => 'blog/pages/',
                    '/' => 'blog/',
                ],
            ],

            'menu' => 'menu/default/index',
            [
                'class' => 'yii\web\GroupUrlRule',
                'prefix' => 'menu',
                'rules' => [
                    '//' => 'menu/item/',
                    '/' => 'menu/item/index',
                    '/' => 'menu/default/',
                ],
            ],

            'module' => 'module/default/index',
            'module/' => 'module/default/',

            'design' => 'design/default/index',
            'design/' => 'design/default/',

            'user' => 'user/default/index',
            [
                'class' => 'yii\web\GroupUrlRule',
                'prefix' => 'user',
                'rules' => [
                    '//' => 'user//',
                    '/' => 'user//index',
                    '/' => 'user/default/',
                ],
            ],

            '' => 'site/'
        ],
    ],
    'urlManagerFrontend' => [
        'class' => 'yii\web\UrlManager',
        'baseUrl' => '',
        'enablePrettyUrl' => true,
        'enableStrictParsing' => true,
        'showScriptName' => false,
        'rules' => [
            [
                'class' => 'startpl\t2cmsblog\components\CategoryUrlRule',
                //'prefix' => 'blog'
            ],
            [
                'class' => 'startpl\t2cmsblog\components\PageUrlRule',
                //'prefix' => 'blog'
            ],
        ],
    ],
    'settings' => [
        'class' => 't2cms\sitemanager\components\Settings',
    ],
    'domains' => [
        'class' => 't2cms\sitemanager\components\Domains',
    ],
    'languages' => [
        'class' => 't2cms\sitemanager\components\Languages',
    ],
]
```

Usage
-----

[](#usage)

---

Go to backend application ( /admin ).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.3% 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

Unknown

Total

1

Last Release

2116d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57978685?v=4)[startpl](/maintainers/startpl)[@startpl](https://github.com/startpl)

---

Top Contributors

[![evgenii-ch97](https://avatars.githubusercontent.com/u/80455757?v=4)](https://github.com/evgenii-ch97 "evgenii-ch97 (57 commits)")[![koperdog](https://avatars.githubusercontent.com/u/15054192?v=4)](https://github.com/koperdog "koperdog (1 commits)")

---

Tags

cms yii2 multisite cms multilanguage cms multidomain cms

### Embed Badge

![Health badge](/badges/startpl-t2cms-core/health.svg)

```
[![Health](https://phpackages.com/badges/startpl-t2cms-core/health.svg)](https://phpackages.com/packages/startpl-t2cms-core)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[yiisoft/yii2-redis

Redis Cache, Session and ActiveRecord for the Yii framework

47912.3M273](/packages/yiisoft-yii2-redis)[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k961.7k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-debug

The debugger extension for the Yii framework

21624.5M619](/packages/yiisoft-yii2-debug)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

7101.8M8](/packages/yiisoft-yii2-app-basic)[yiisoft/yii2-apidoc

API Documentation generator for the Yii framework 2.0

260712.7k31](/packages/yiisoft-yii2-apidoc)

PHPackages © 2026

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