PHPackages                             windomz/coupon-plugin - 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. windomz/coupon-plugin

ActiveLibrary

windomz/coupon-plugin
=====================

v0.7.3(8y ago)026Apache-2.0PHPPHP &gt;=7.0

Since Jun 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/WindomZ/coupon-plugin)[ Packagist](https://packagist.org/packages/windomz/coupon-plugin)[ RSS](/packages/windomz-coupon-plugin/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (6)Versions (18)Used By (0)

**This project has been suspended, and moved to [coupon-module](https://github.com/WindomZ/coupon-module).**
------------------------------------------------------------------------------------------------------------

[](#this-project-has-been-suspended-and-moved-to-coupon-module)

coupon-plugin
=============

[](#coupon-plugin)

> Developing...

[![Latest Stable Version](https://camo.githubusercontent.com/01292d885bd9941ed690555c760b2a86071c644ed34e54b6d6f346e75b6ddf70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696e646f6d7a2f636f75706f6e2d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/windomz/coupon-plugin)[![Minimum PHP Version](https://camo.githubusercontent.com/90eed33e7df559b70b174e97d37a4907946803c7ab691640166d2518d8cd2118/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e302d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Minimum MYSQL Version](https://camo.githubusercontent.com/f63dc8e0ec4da67b3c5f5a1bf276804cb3935e1539f7b4e2f29a7eea4c5f093d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d7973716c2d253345253344253230352e362d3434373961312e7376673f7374796c653d666c61742d737175617265)](https://www.mysql.com/)[![Build Status](https://camo.githubusercontent.com/8b5568378c050e9cd5bffa098dc681d77ab19d85b4c75d30c91ff1dd14130269/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f57696e646f6d5a2f636f75706f6e2d706c7567696e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/WindomZ/coupon-plugin)

Feature
-------

[](#feature)

- Activity
- CouponTemplate
- Pack = Activity + CouponTemplate
- Coupon = one of Pack

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

[](#installation)

Open the terminal in the project directory:

```
$ composer require windomz/coupon-plugin
```

Create a configuration file, like `config.yml`:

```
database:
    host: 127.0.0.1
    port: 3306
    type: mysql
    name: testdb
    username: root
    password: root
```

If only for quick testing, you can run `./sql/testdb.sql` in `MySQL` to quickly create a test database.

Of course, you can also customize the `database name` based on `./sql/testdb.sql`, but note that the `table name` can not be *MODIFIED*!

In the project initialization, load the specified configuration file through the following implementation:

```
Coupon::setConfigPath('./config.yml');
```

Usage
-----

[](#usage)

Refer to the [Document](https://windomz.github.io/coupon-plugin)(*Currently only Chinese*) for details.

License
-------

[](#license)

The [MIT License](https://github.com/WindomZ/coupon-plugin/blob/master/LICENSE)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~0 days

Total

17

Last Release

3257d ago

### Community

Maintainers

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

---

Top Contributors

[![WindomZ](https://avatars.githubusercontent.com/u/14875359?v=4)](https://github.com/WindomZ "WindomZ (160 commits)")

---

Tags

plugincoupon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/windomz-coupon-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/windomz-coupon-plugin/health.svg)](https://phpackages.com/packages/windomz-coupon-plugin)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)

PHPackages © 2026

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