PHPackages                             pluf/discount - 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. pluf/discount

ActiveLibrary

pluf/discount
=============

A pluf module to manage discounts

6.0.11(5y ago)02.3k1MITPHP

Since Sep 19Pushed 4y ago2 watchersCompare

[ Source](https://github.com/pluf/discount)[ Packagist](https://packagist.org/packages/pluf/discount)[ Docs](https://github.com/pluf/discount)[ RSS](/packages/pluf-discount/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (3)Versions (99)Used By (1)

Discount System
===============

[](#discount-system)

[![Build Status](https://camo.githubusercontent.com/78c3246b20b591f1cdb732f3d32cbf0824e3e10c00037642d481357ade03fdb3/68747470733a2f2f7472617669732d63692e636f6d2f706c75662f646973636f756e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/pluf/discount)[![codecov](https://camo.githubusercontent.com/9e52ff74af3bf471f9a920fe5b606ef842e5a41a7b3cf3075c338d2fe745d773/68747470733a2f2f636f6465636f762e696f2f67682f706c75662f646973636f756e742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pluf/discount)[![Maintainability](https://camo.githubusercontent.com/d6ec99d76070bf1db3136fa8b1d1a2509fe9d9c18dac4e37fd937a38c9d4be0b/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35313366333536626466323630363563633030392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/pluf/discount/maintainability)[![Test Coverage](https://camo.githubusercontent.com/c34366f2388cf1972b12b370e8144f0c393f75e47a0f4d03c210f8c934101428/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35313366333536626466323630363563633030392f746573745f636f766572616765)](https://codeclimate.com/github/pluf/discount/test_coverage)[![Coverage Status](https://camo.githubusercontent.com/a71971c2527bd63ef478b0e43e385c4e9bc558c1a9e1ebc8aa7362001ae6c648/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f706c75662f646973636f756e742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/pluf/discount?branch=master)

This is a Pluf module to provide tools related to discounts. It can be used to manage (add, remove, update, search) different types of discounts.

Contributing
------------

[](#contributing)

If you would like to contribute to Pluf, please read the README and CONTRIBUTING documents.

The most important guidelines are described as follows:

> All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the PSR-2 Coding Standards.

###  Health Score

36

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 87.3% 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 ~10 days

Total

97

Last Release

2156d ago

Major Versions

2.1.10 → 3.0.42017-12-19

3.0.7 → 4.0.82018-10-16

4.0.9 → 5.0.02018-10-16

4.0.1 → 5.0.12019-01-11

5.13.1 → 6.0.52020-03-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fdab409dd1ed29d1cd3651fddeacd6d10c79ee41b48dc84e04589ca28cb50ed?d=identicon)[mostafabarmshory](/maintainers/mostafabarmshory)

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

---

Top Contributors

[![hadimansouri](https://avatars.githubusercontent.com/u/8458562?v=4)](https://github.com/hadimansouri "hadimansouri (62 commits)")[![mostafabarmshory](https://avatars.githubusercontent.com/u/6371551?v=4)](https://github.com/mostafabarmshory "mostafabarmshory (9 commits)")

---

Tags

discountplufphpdiscountplufpluf-module

### Embed Badge

![Health badge](/badges/pluf-discount/health.svg)

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

###  Alternatives

[pluf/core

Pluf core pakcage

116.7k11](/packages/pluf-core)

PHPackages © 2026

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