PHPackages                             silvershop/coloredvariations - 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. silvershop/coloredvariations

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

silvershop/coloredvariations
============================

Add color support to variations for SilverShop.

3.0.0(2y ago)32.7k↓68.8%81BSD-2-ClausePHPCI passing

Since Mar 2Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/silvershop/silvershop-coloredvariations)[ Packagist](https://packagist.org/packages/silvershop/coloredvariations)[ RSS](/packages/silvershop-coloredvariations/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (6)Versions (7)Used By (1)

SilverShop Colored Variations
=============================

[](#silvershop-colored-variations)

[![Latest Stable Version](https://camo.githubusercontent.com/6f1426be7ec2a9d13957041b008ae886b987039ad312df1d6b7df6de08c05c05/68747470733a2f2f706f7365722e707567782e6f72672f73696c76657273686f702f636f6c6f726564766172696174696f6e732f762f737461626c652e706e67)](https://packagist.org/packages/silvershop/coloredvariations)[![Latest Unstable Version](https://camo.githubusercontent.com/d8a0a088fb8a3c4a51d76adb4082c0bc8401a5366a9ce01f1bae605acfdb8cec/68747470733a2f2f706f7365722e707567782e6f72672f73696c76657273686f702f636f6c6f726564766172696174696f6e732f762f756e737461626c652e706e67)](https://packagist.org/packages/silvershop/coloredvariations)[![CI](https://github.com/silvershop/silvershop-coloredvariations/actions/workflows/ci.yml/badge.svg)](https://github.com/silvershop/silvershop-coloredvariations/actions/workflows/ci.yml)[![Total Downloads](https://camo.githubusercontent.com/865942ef8e0a2c296660cd34aa0c580c5317e7eea0289b8edccddaeafef5aa62/68747470733a2f2f706f7365722e707567782e6f72672f73696c76657273686f702f636f6c6f726564766172696174696f6e732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/silvershop/coloredvariations)

Choose colors for variation attributes, allowing for display of color swatches.

The module also introduces the ability to add many images to a product, and assign each image to a specific color.

Requirements
------------

[](#requirements)

- PHP 8.3+
- SilverShop Core 6.x / Silverstripe CMS 6.x

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

[](#installation)

```
composer require silvershop/coloredvariations

```

Development
-----------

[](#development)

```
composer test
composer stan
```

Add the color swatches template to your `templates/Layout/Product.ss` template:

```

```

License
-------

[](#license)

BSD-2

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance59

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 55.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 ~582 days

Recently: every ~727 days

Total

6

Last Release

865d ago

Major Versions

1.x-dev → 2.0.02019-11-25

2.x-dev → 3.0.02024-02-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/485dfc9fc93cad085c83c3276f19b6e9322ee910ab0e1685de0db42228dbf97b?d=identicon)[markguinn](/maintainers/markguinn)

![](https://avatars.githubusercontent.com/u/101629?v=4)[Will Rossiter](/maintainers/wilr)[@wilr](https://github.com/wilr)

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

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

---

Top Contributors

[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (26 commits)")[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (13 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (3 commits)")[![sparkcom](https://avatars.githubusercontent.com/u/4200947?v=4)](https://github.com/sparkcom "sparkcom (1 commits)")[![wernerkrauss](https://avatars.githubusercontent.com/u/1043925?v=4)](https://github.com/wernerkrauss "wernerkrauss (1 commits)")[![mikenuguid](https://avatars.githubusercontent.com/u/44601742?v=4)](https://github.com/mikenuguid "mikenuguid (1 commits)")[![madmatt](https://avatars.githubusercontent.com/u/893117?v=4)](https://github.com/madmatt "madmatt (1 commits)")[![anselmdk](https://avatars.githubusercontent.com/u/1316533?v=4)](https://github.com/anselmdk "anselmdk (1 commits)")

---

Tags

silverstripecolorcomparisonshopecommerce

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/silvershop-coloredvariations/health.svg)

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

PHPackages © 2026

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