PHPackages                             spryker/cart-variant - 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/cart-variant

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

spryker/cart-variant
====================

CartVariant module

2.1.0(1y ago)02.3M↓20.9%3proprietaryPHPPHP &gt;=8.2CI passing

Since Jun 22Pushed 2mo ago6 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (16)Used By (3)

CartVariant Module
==================

[](#cartvariant-module)

[![Latest Stable Version](https://camo.githubusercontent.com/bde866252ce7442d7131ea87949b13adaa6b5b27b10ddaafd44b3d15b1e0edad/68747470733a2f2f706f7365722e707567782e6f72672f737072796b65722f636172742d76617269616e742f762f737461626c652e737667)](https://packagist.org/packages/spryker/cart-variant)[![Minimum PHP Version](https://camo.githubusercontent.com/9c50dc780fa576f5c39b4feff00c05345c1471be0808881a09e750b91220dc54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e332d3838393242462e737667)](https://php.net/)

CartVariant provides the logic for selecting/modifying a variant of a product in the cart in case if the product has more than one variant. For example if product size defines the variants, this module enables modifying the selected size of the product right in the cart.

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

[](#installation)

```
composer require spryker/cart-variant

```

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

[](#documentation)

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

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance65

Regular maintenance activity

Popularity39

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 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 ~244 days

Recently: every ~489 days

Total

12

Last Release

560d ago

Major Versions

0.1.0 → 1.0.02017-06-29

1.0.7 → 2.0.02019-11-22

PHP version history (3 changes)1.0.3PHP &gt;=7.1

2.0.0PHP &gt;=7.2

2.1.0PHP &gt;=8.2

### 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 (63 commits)")[![damijanc](https://avatars.githubusercontent.com/u/1586796?v=4)](https://github.com/damijanc "damijanc (12 commits)")[![m7moud](https://avatars.githubusercontent.com/u/3217954?v=4)](https://github.com/m7moud "m7moud (8 commits)")[![stereomon](https://avatars.githubusercontent.com/u/1382877?v=4)](https://github.com/stereomon "stereomon (7 commits)")[![AsonUnique](https://avatars.githubusercontent.com/u/20453760?v=4)](https://github.com/AsonUnique "AsonUnique (6 commits)")[![olhalivitchuk](https://avatars.githubusercontent.com/u/77281282?v=4)](https://github.com/olhalivitchuk "olhalivitchuk (6 commits)")[![a-sabaa](https://avatars.githubusercontent.com/u/1667759?v=4)](https://github.com/a-sabaa "a-sabaa (5 commits)")[![pushokwhite](https://avatars.githubusercontent.com/u/4017411?v=4)](https://github.com/pushokwhite "pushokwhite (4 commits)")[![geega](https://avatars.githubusercontent.com/u/1426310?v=4)](https://github.com/geega "geega (3 commits)")[![tamasnyulas](https://avatars.githubusercontent.com/u/3429362?v=4)](https://github.com/tamasnyulas "tamasnyulas (3 commits)")[![vol4onok](https://avatars.githubusercontent.com/u/5063777?v=4)](https://github.com/vol4onok "vol4onok (2 commits)")[![gerner-spryker](https://avatars.githubusercontent.com/u/30629375?v=4)](https://github.com/gerner-spryker "gerner-spryker (2 commits)")[![gund](https://avatars.githubusercontent.com/u/3644678?v=4)](https://github.com/gund "gund (2 commits)")[![gechetspr](https://avatars.githubusercontent.com/u/42143273?v=4)](https://github.com/gechetspr "gechetspr (1 commits)")[![bezpiatovs](https://avatars.githubusercontent.com/u/68903876?v=4)](https://github.com/bezpiatovs "bezpiatovs (1 commits)")[![spryker-release-bot](https://avatars.githubusercontent.com/u/26904324?v=4)](https://github.com/spryker-release-bot "spryker-release-bot (1 commits)")[![asmarovydlo](https://avatars.githubusercontent.com/u/15832795?v=4)](https://github.com/asmarovydlo "asmarovydlo (1 commits)")[![andrew-maslov](https://avatars.githubusercontent.com/u/37797323?v=4)](https://github.com/andrew-maslov "andrew-maslov (1 commits)")[![aleksandr-velikanov](https://avatars.githubusercontent.com/u/105643831?v=4)](https://github.com/aleksandr-velikanov "aleksandr-velikanov (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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