PHPackages                             weison-tech/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. [Admin Panels](/categories/admin)
4. /
5. weison-tech/yii2-cms

ActiveProject[Admin Panels](/categories/admin)

weison-tech/yii2-cms
====================

An enterprise application based on yii2 basic template

1.0.2(6y ago)18427620BSD-3-ClausePHPPHP &gt;=5.4.0

Since Jan 24Pushed 6y ago8 watchersCompare

[ Source](https://github.com/weison-tech/yii2-cms)[ Packagist](https://packagist.org/packages/weison-tech/yii2-cms)[ Docs](http://www.itweshare.com/)[ RSS](/packages/weison-tech-yii2-cms/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (22)Versions (4)Used By (0)

Yii2 CMS
========

[](#yii2-cms)

This is a cms based on yii2 basic template, you can use it to build you own enterprise web site.

Directory structure
-------------------

[](#directory-structure)

```
assets                   contains all assets files published by Yii2 assetsManager, like js, css, font file and so on.
protected
    core/
        commands/        contains all commands.
        components/      contains all common components.
        config/          contains all config files.
        libs/            contains common helpers.
        messages/        contains common translation files.
        migrations/      contains common migration files.
        model/           contains common models.
        modules/         contains all core module, such as admin, file, installer module and so on.
        widgets/         contains all common widgets.
    modules/             contains all custom created modules.
    runtime/             contains all runtime files generated by application.
    vendor/              contains all components and extenstions created by composer.
static
    css/                 contains some css.
    img/                 contains some img.
    js/                  contains some js.
themes
    default/             contains application default themes.
tools/
    gulp/                contains js and css compress tool gulp.
uploads/                 contains all upload files.

```

[中文文档](https://github.com/weison-tech/yii2-cms/blob/master/docs/README-zh.md)

[The online backend demo](http://cms.mym.pub/admin.html) username:admin password:123456 (Please don't update the admin user)

[The online frontend demo](http://cms.mym.pub)

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

[](#installation)

1, Update composer asset plugin.

```
$ composer global require "fxp/composer-asset-plugin:*"

```

2, Install yii2 cms code.

```
$ composer create-project --prefer-dist weison-tech/yii2-cms cms

```

3, Create database

4, Config you virtual host so that you can visit you site.

5, According to the installation wizard step by step installation.

6, If you use application in product environment, please change the index.php who stored in root folder. when in product environment,you can compress all js and css file to one file.

7, Enter the management background configuration permissions.

8，After the permissions are configured, please modify the protected/core/config/common.php file and comment 'admin/rbac/\*' under the 'notCheckPermissionAction' configuration item.

Js and css compress
-------------------

[](#js-and-css-compress)

1, First of all, you should install node js in your computer environment.

2, Install dependencies for this application.

```
$ cd tools/gulp
$ npm install

```

3, Use yii2 asset command to compress.

```
$ cd protected
$ php yii asset core/config/asset.php core/config/assets-prod.php

```

4, Update you application index file to production environment.

Features
--------

[](#features)

1. Adminlte template for admin theme.
2. RBAC management
3. I18N
4. News management system
5. Products management system

    ...

Preview
-------

[](#preview)

Install

[![install](docs/install.png)](docs/install.png)

[![install2](docs/install2.png)](docs/install2.png)

Frontend home page

[![home](docs/home.png)](docs/home.png)

Contact page

[![contact](docs/contact.png)](docs/contact.png)

Use adminlte as theme, use layerui to define alert, category tree can fold.

[![category](docs/category.png)](docs/category.png)

Inline editable

[![editable](docs/editable.png)](docs/editable.png)

Multiple image upload，Drag and drop sort

[![sort](docs/sort.png)](docs/sort.png)

Change theme

[![change theme](docs/theme.png)](docs/theme.png)

Change language

[![language](docs/l18n.png)](docs/l18n.png)

Contact
-------

[](#contact)

Wechat qrcode

[![language](docs/contact.jpg)](docs/contact.jpg)

Donate
------

[](#donate)

If you want help author to buy pizzas.

Wechat Reward Code

[![language](docs/reward.jpg)](docs/reward.jpg)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.7% 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 ~65 days

Total

3

Last Release

2538d ago

### Community

Maintainers

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

---

Top Contributors

[![xiaomalover](https://avatars.githubusercontent.com/u/10594451?v=4)](https://github.com/xiaomalover "xiaomalover (76 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

adminltecmsenterpriserbacyii2yii2-cmsyii2-enterprisecmsyii2AdminLTEenterprise

### Embed Badge

![Health badge](/badges/weison-tech-yii2-cms/health.svg)

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

###  Alternatives

[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[skeeks/cms

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

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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