PHPackages                             silvercommerce/discounts - 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. silvercommerce/discounts

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

silvercommerce/discounts
========================

Module that adds discounts (either as a code, or on a group) to SilverCommerce

2.0.7(2y ago)03.1k22BSD-3-ClausePHPCI failing

Since Oct 9Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/silvercommerce/discounts)[ Packagist](https://packagist.org/packages/silvercommerce/discounts)[ Docs](http://github.com/silvercommerce/discounts)[ RSS](/packages/silvercommerce-discounts/feed)WikiDiscussions 2 Synced 2w ago

READMEChangelogDependencies (7)Versions (16)Used By (2)

SilverCommerce Discounts
========================

[](#silvercommerce-discounts)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2cf8f262375b4dba4fd20f6c7035be6eda486bd4b13ff56f05e1f85d3e9a2085/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696c766572636f6d6d657263652f646973636f756e74732f6261646765732f7175616c6974792d73636f72652e706e673f623d312e30)](https://scrutinizer-ci.com/g/silvercommerce/discounts/?branch=1.0)[![Build Status](https://camo.githubusercontent.com/9cc3fa3fd6003f0f1335a14952e6c5cec2e4e8c34cbd9031b2ea05a66b743381/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696c766572636f6d6d657263652f646973636f756e74732f6261646765732f6275696c642e706e673f623d312e30)](https://scrutinizer-ci.com/g/silvercommerce/discounts/build-status/1.0)

Add support for discounts and discount codes to a SilverCommerce install (either Fixed, Percentage or Free Shipping).

Also allows easy creation of new discounts via extension of one of the code discount objects

Instalation
-----------

[](#instalation)

Install via composer:

```
composer require silvercommerce/discounts

```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance46

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 78.4% 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 ~166 days

Recently: every ~418 days

Total

15

Last Release

199d ago

Major Versions

1.0.4 → 2.0.02021-02-12

### Community

Maintainers

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

---

Top Contributors

[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (69 commits)")[![Makreig](https://avatars.githubusercontent.com/u/6011781?v=4)](https://github.com/Makreig "Makreig (19 commits)")

---

Tags

silverstripeecommercediscountsdiscount-codescommercesilvercommerce

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/silvercommerce-discounts/health.svg)

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

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.1M83](/packages/silverstripe-userforms)

PHPackages © 2026

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