PHPackages                             zh/yii2-zhcart - 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. zh/yii2-zhcart

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zh/yii2-zhcart
==============

calculation cost from cart component

v1.0.1(8y ago)241nullPHP

Since Aug 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pcyanglei/zhcart)[ Packagist](https://packagist.org/packages/zh/yii2-zhcart)[ RSS](/packages/zh-yii2-zhcart/feed)WikiDiscussions master Synced yesterday

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

购物车
===

[](#购物车)

一个支持各种优惠组合的购物车

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist zh/yii2-zhcart "dev-master"

```

or add

```
"zh/yii2-zhcart": "*"

```

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

Usage
-----

[](#usage)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3192d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74b4babbf26c853cf28b9ad639bf14ab4430fe9f2d77e9739646c18865ae5443?d=identicon)[pcyanglei](/maintainers/pcyanglei)

---

Top Contributors

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

---

Tags

yii2cart

### Embed Badge

![Health badge](/badges/zh-yii2-zhcart/health.svg)

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

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

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

PHPackages © 2026

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