PHPackages                             wzzwx/yii2-inspinia - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wzzwx/yii2-inspinia

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

wzzwx/yii2-inspinia
===================

Wrapper inspinia theme

1.0.3(5y ago)1311[1 issues](https://github.com/wzzwx/yii2-inspinia/issues)CSS

Since Dec 1Pushed 5y ago2 watchersCompare

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

READMEChangelogDependencies (4)Versions (5)Used By (0)

Inspinia Theme
--------------

[](#inspinia-theme)

### inspinia主题的上层封装。

[](#inspinia主题的上层封装)

```
依赖包 https://github.com/lkk/yii2-inspinia。
提供几乎全部inspinia会用到的静态资源的打包。
如需用到Inspinia资源，请优先使用已经打包好的。

```

### 命名空间

[](#命名空间)

```
wzzwx\yii2Inspinia

```

### 使用方式

[](#使用方式)

- App的main配置添加如下配置即可

```
'view' => [
            'theme' => [
                'class' => 'wzzwx\yii2Inspinia\Theme',
                'nowrap' => !YII_DEBUG,
                'menuItems' => [
                    [
                       'label' => '自动回复管理',
                       'items' => [
                           [
                               'label' => '自动回复消息',
                               'url' => '/wx-reply',
                           ],
                           [
                               'label' => '规则管理',
                               'url' => '/wx-reply-rule',
                           ],
                       ],
                   ],
                   [
                       'label' => 'gii测试',
                       'url' => '/giitest',
                   ],
                 // footer 设置
                'footer' => [
                    'replaceTags' => [
                        'right' => 'Version 2.0',
                        'left' => '&copy;2018- '.date('Y').' callmewz 京ICP备19042689号-1',
                    ],
                ],
            ],
        ],

```

### 可用配置

[](#可用配置)

- content
    匿名函数：function($content, $theme){};
    参数为layout重的content部分，和当前主题。
    e.g.:

```
  'content' => function($content, $theme) {
      if ($theme->nowrap) {
          return "$content";
      }
      return $content;
  },

```

### 注意

[](#注意)

- app-&gt;user 须有name属性，用于展示

### 更新：

[](#更新)

- 已支持common包中的box样式。

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~39 days

Total

4

Last Release

1870d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23d6aec20fa876e745ff5f2ce7e7a00cdc32d61a1a96a15666587ff22b217486?d=identicon)[xiayutian](/maintainers/xiayutian)

---

Top Contributors

[![zhengwang1201](https://avatars.githubusercontent.com/u/23148838?v=4)](https://github.com/zhengwang1201 "zhengwang1201 (5 commits)")

### Embed Badge

![Health badge](/badges/wzzwx-yii2-inspinia/health.svg)

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

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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