PHPackages                             clh021/yii2-wechat\_ionic1 - 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. clh021/yii2-wechat\_ionic1

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

clh021/yii2-wechat\_ionic1
==========================

Yii2 wechat base on ionic1 for other application

0.0.1(10y ago)071Apache-2.0JavaScriptPHP &gt;=5.5.9

Since Mar 16Pushed 10y agoCompare

[ Source](https://github.com/clh021/yii2-wechat_ionic1)[ Packagist](https://packagist.org/packages/clh021/yii2-wechat_ionic1)[ RSS](/packages/clh021-yii2-wechat-ionic1/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Yii2 wechat ionic1 -under development
=====================================

[](#yii2-wechat-ionic1--under-development)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist clh021/yii2-wechat_ionic1 "*"

```

or add

```
"clh021/yii2-wechat_ionic1": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

### Migration

[](#migration)

Migration run

```
php yii migrate --migrationPath=@clh021/wechat_ionic1/migrations
```

### Config url rewrite in /common/config/main.php

[](#config-url-rewrite-in-commonconfigmainphp)

```
    'timeZone' => 'Asia/Shanghai', //time zone affect the formatter datetime format
    'components' => [
        'urlManager' => [
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
                '/' => '/view',
                '//' => '/',
                '/' => '/',
            ],
        ],
        'formatter' => [ //for the showing of date datetime
            'dateFormat' => 'yyyy-MM-dd',
            'datetimeFormat' => 'yyyy-MM-dd HH:mm:ss',
            'decimalSeparator' => ',',
            'thousandSeparator' => ' ',
            'currencyCode' => 'CNY',
        ],
    ],
```

### Config backend modules in backend/config/main.php

[](#config-backend-modules-in-backendconfigmainphp)

```
    'modules' => [
        'cms' => [
            'class' => 'clh021\wechat_ionic1\Module',
            'controllerNamespace' => 'clh021\wechat_ionic1\controllers\backend'
        ],
    ],
```

### Config frontend modules in frontend/config/main.php

[](#config-frontend-modules-in-frontendconfigmainphp)

```
    'defaultRoute' => 'wechat', //set wechat as default route
    'modules' => [
        'wechat' => [
            'class' => 'clh021\wechat_ionic1\Module',
            'controllerNamespace' => 'clh021\wechat_ionic1\controllers\frontend'
        ],
    ],
```

### Add yii2-cms params in /frontend/config/params.php.

[](#add-yii2-cms-params-in-frontendconfigparamsphp)

```
return [
    'cmsTitle' => 'HikeCms',
    'cmsTitleSeo' => 'Simple Cms based on Yii2',
    'cmsFooter' => 'Copyright &copy; ' . date('Y') . ' by clh021 chen on Yii2. All Rights Reserved.',
    'cmsPostPageCount' => '2',
    'cmsLinks' => [
        'Google' => 'http://www.google.com',
        '' => 'http://github.com/clh021/yii2-wechat_ionic1',
    ],
];
```

### Access Url

[](#access-url)

1. backend :
    - Catalog :
    - Show :
2. frontend :

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3754d ago

### Community

Maintainers

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

---

Top Contributors

[![clh021](https://avatars.githubusercontent.com/u/1754391?v=4)](https://github.com/clh021 "clh021 (3 commits)")

---

Tags

yii2extensionwechat

### Embed Badge

![Health badge](/badges/clh021-yii2-wechat-ionic1/health.svg)

```
[![Health](https://phpackages.com/badges/clh021-yii2-wechat-ionic1/health.svg)](https://phpackages.com/packages/clh021-yii2-wechat-ionic1)
```

###  Alternatives

[abei2017/yii2-wx

一个专注于yii2的微信sdk

1472.8k](/packages/abei2017-yii2-wx)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1454.6k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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