PHPackages                             spryker/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. spryker/discount

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

spryker/discount
================

Discount module

9.52.0(2mo ago)42.6M↓21%220proprietaryPHPPHP &gt;=8.3CI passing

Since Mar 1Pushed 2mo ago37 watchersCompare

[ Source](https://github.com/spryker/discount)[ Packagist](https://packagist.org/packages/spryker/discount)[ RSS](/packages/spryker-discount/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (70)Versions (187)Used By (20)

Discount Module
===============

[](#discount-module)

[![Latest Stable Version](https://camo.githubusercontent.com/11c3283fe5c6c8873d668939bdbc4c4c2c4f3a82ae5eeeea892ddf6426779ee2/68747470733a2f2f706f7365722e707567782e6f72672f737072796b65722f646973636f756e742f762f737461626c652e737667)](https://packagist.org/packages/spryker/discount)[![Minimum PHP Version](https://camo.githubusercontent.com/9c50dc780fa576f5c39b4feff00c05345c1471be0808881a09e750b91220dc54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e332d3838393242462e737667)](https://php.net/)

Discount module allows to create dynamic rules with which discounts can be applied to cart items. Discounts can be exclusive or nonexclusive. Exclusive discounts cannot be combined with other discounts. In case if multiple exclusive discounts are applicable, only the one with the highest discounted value will be applied. Validity dates of the discount allows to make sure that the discount is valid for only the defined period of time. There are two type of discounts: cart rules and voucher code discounts. Cart rule discounts are not linked to a voucher pool, they are contained in the cart and are calculated automatically. Voucher code discounts are discounts that are linked to a voucher pool. In order to be applied, the associated voucher code must be entered by the customer. Once the voucher code is submitted, the calculation of the discount is being performed.

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

[](#installation)

```
composer require spryker/discount

```

Documentation
-------------

[](#documentation)

[Spryker Documentation](https://docs.spryker.com)

###  Health Score

70

—

ExcellentBetter than 100% of packages

Maintenance87

Actively maintained with recent releases

Popularity45

Moderate usage in the ecosystem

Community40

Growing community involvement

Maturity97

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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

Total

181

Last Release

66d ago

Major Versions

6.4.0 → 7.0.02018-11-20

7.5.2 → 8.0.02019-05-30

8.0.0 → 9.0.02019-06-27

7.5.3 → 9.0.12019-07-09

4.7.0 → 9.30.02023-03-01

PHP version history (8 changes)5.2.2PHP &gt;=7.1

9.6.3PHP &gt;=7.2

9.11.0PHP &gt;=7.3

9.17.2PHP &gt;=7.4

9.28.1PHP &gt;=8.0

9.35.0PHP &gt;=8.1

9.40.0PHP &gt;=8.2

9.50.0PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10738957?v=4)[Spryker Bot](/maintainers/spryker-bot)[@spryker-bot](https://github.com/spryker-bot)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (304 commits)")[![stereomon](https://avatars.githubusercontent.com/u/1382877?v=4)](https://github.com/stereomon "stereomon (172 commits)")[![tamasnyulas](https://avatars.githubusercontent.com/u/3429362?v=4)](https://github.com/tamasnyulas "tamasnyulas (64 commits)")[![gerner-spryker](https://avatars.githubusercontent.com/u/30629375?v=4)](https://github.com/gerner-spryker "gerner-spryker (54 commits)")[![kraal-spryker](https://avatars.githubusercontent.com/u/42177964?v=4)](https://github.com/kraal-spryker "kraal-spryker (45 commits)")[![PhilinTv](https://avatars.githubusercontent.com/u/376033?v=4)](https://github.com/PhilinTv "PhilinTv (42 commits)")[![m7moud](https://avatars.githubusercontent.com/u/3217954?v=4)](https://github.com/m7moud "m7moud (31 commits)")[![gechetspr](https://avatars.githubusercontent.com/u/42143273?v=4)](https://github.com/gechetspr "gechetspr (29 commits)")[![voitovtihran](https://avatars.githubusercontent.com/u/39267485?v=4)](https://github.com/voitovtihran "voitovtihran (28 commits)")[![olhalivitchuk](https://avatars.githubusercontent.com/u/77281282?v=4)](https://github.com/olhalivitchuk "olhalivitchuk (21 commits)")[![ipartemk](https://avatars.githubusercontent.com/u/848625?v=4)](https://github.com/ipartemk "ipartemk (20 commits)")[![AsonUnique](https://avatars.githubusercontent.com/u/20453760?v=4)](https://github.com/AsonUnique "AsonUnique (19 commits)")[![vol4onok](https://avatars.githubusercontent.com/u/5063777?v=4)](https://github.com/vol4onok "vol4onok (15 commits)")[![pushokwhite](https://avatars.githubusercontent.com/u/4017411?v=4)](https://github.com/pushokwhite "pushokwhite (14 commits)")[![helen-laktionova](https://avatars.githubusercontent.com/u/29577856?v=4)](https://github.com/helen-laktionova "helen-laktionova (14 commits)")[![dpodliesnyi](https://avatars.githubusercontent.com/u/23454601?v=4)](https://github.com/dpodliesnyi "dpodliesnyi (13 commits)")[![zssamoylov](https://avatars.githubusercontent.com/u/43746999?v=4)](https://github.com/zssamoylov "zssamoylov (12 commits)")[![andrew-maslov](https://avatars.githubusercontent.com/u/37797323?v=4)](https://github.com/andrew-maslov "andrew-maslov (12 commits)")[![demkos](https://avatars.githubusercontent.com/u/2093777?v=4)](https://github.com/demkos "demkos (12 commits)")[![geega](https://avatars.githubusercontent.com/u/1426310?v=4)](https://github.com/geega "geega (12 commits)")

### Embed Badge

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

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

###  Alternatives

[spryker/search

Search module

152.8M64](/packages/spryker-search)

PHPackages © 2026

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