PHPackages                             zgldh/discount-and-coupon - 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. zgldh/discount-and-coupon

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

zgldh/discount-and-coupon
=========================

The core logic about discount and coupon. Useful to manage discount campaign, defining coupon and calculate the final price.

v1.1.1(7y ago)10641MITPHP &gt;=7.0.0

Since Sep 23Compare

[ Source](https://github.com/zgldh/discount-and-coupon)[ Packagist](https://packagist.org/packages/zgldh/discount-and-coupon)[ RSS](/packages/zgldh-discount-and-coupon/feed)WikiDiscussions Synced yesterday

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/zgldh/discount-and-coupon).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 85% 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 ~20 days

Recently: every ~28 days

Total

10

Last Release

2606d ago

Major Versions

v0.1.0 → v1.0.02018-09-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d823b6a23c0353181880a192e27ea65b9ed08387338bb78c3af727c3546f354?d=identicon)[zgldh](/maintainers/zgldh)

---

Top Contributors

[![zgldh](https://avatars.githubusercontent.com/u/312404?v=4)](https://github.com/zgldh "zgldh (17 commits)")[![gitliyu](https://avatars.githubusercontent.com/u/29886054?v=4)](https://github.com/gitliyu "gitliyu (3 commits)")

---

Tags

coupondiscount

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zgldh-discount-and-coupon/health.svg)

```
[![Health](https://phpackages.com/badges/zgldh-discount-and-coupon/health.svg)](https://phpackages.com/packages/zgldh-discount-and-coupon)
```

###  Alternatives

[frittenkeez/laravel-vouchers

Voucher system for Laravel 9+

5819.9k2](/packages/frittenkeez-laravel-vouchers)[smile/module-multi-coupon

Extension of Magento2 Sales Rule to allow multiple coupon usage.

102.9k](/packages/smile-module-multi-coupon)

PHPackages © 2026

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