PHPackages                             heyday/silverstripe-adaptivecontent - 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. [Framework](/categories/framework)
4. /
5. heyday/silverstripe-adaptivecontent

ActiveSilverstripe-vendormodule[Framework](/categories/framework)

heyday/silverstripe-adaptivecontent
===================================

SilverStripe Adaptive Content

4.1.2(3mo ago)21.2k4MITPHPCI failing

Since Jul 22Pushed 1mo ago21 watchersCompare

[ Source](https://github.com/heyday/silverstripe-adaptivecontent)[ Packagist](https://packagist.org/packages/heyday/silverstripe-adaptivecontent)[ RSS](/packages/heyday-silverstripe-adaptivecontent/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (7)Versions (13)Used By (0)

SilverStripe Adaptive Content
=============================

[](#silverstripe-adaptive-content)

Generic sets of fields as data extensions. Originally intended to be the back-end for an "adaptive" content strategy (content adapting to device/context), but generally quite useful as a set of common, reusable fields.

Installation (with composer)
----------------------------

[](#installation-with-composer)

```
$   composer require heyday/silverstripe-adaptivecontent

```

Usage
-----

[](#usage)

The main component of this module can be used simply by adding the `AdaptiveContent` extension to a DataObject or Page instance:

```
SomeDataObject:
  extensions:
    - Heyday\AdaptiveContent\Extensions\AdaptiveContent
```

The other field extensions work in the same way:

```
SomePage:
  extensions:
    - Heyday\AdaptiveContent\Extensions\AdaptiveContent
    - Heyday\AdaptiveContent\Extensions\AdaptiveContentHierarchy
    - Heyday\AdaptiveContent\Extensions\AdaptiveContentRelated('Page')
```

Example use
-----------

[](#example-use)

See [heyday/silverstripe-slices](https://github.com/heyday/silverstripe-slices)for an example use of this module.

Unit testing
------------

[](#unit-testing)

```
composer install --dev
vendor/bin/phpunit
```

Static analysis
---------------

[](#static-analysis)

```
composer lint
```

PHPStan is configured with [silverstan](https://github.com/Cambis/silverstan) for Silverstripe-aware analysis.

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance87

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 59% 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 ~421 days

Recently: every ~560 days

Total

12

Last Release

100d ago

Major Versions

2.0.2 → 3.0.02014-06-08

3.0.3 → 4.0.0-alpha2020-02-07

### Community

Maintainers

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

---

Top Contributors

[![camspiers](https://avatars.githubusercontent.com/u/51294?v=4)](https://github.com/camspiers "camspiers (49 commits)")[![stecman](https://avatars.githubusercontent.com/u/2230769?v=4)](https://github.com/stecman "stecman (10 commits)")[![tomstgeorge](https://avatars.githubusercontent.com/u/2531109?v=4)](https://github.com/tomstgeorge "tomstgeorge (9 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (6 commits)")[![jack-nzl](https://avatars.githubusercontent.com/u/14326708?v=4)](https://github.com/jack-nzl "jack-nzl (6 commits)")[![bendubuisson](https://avatars.githubusercontent.com/u/3079189?v=4)](https://github.com/bendubuisson "bendubuisson (2 commits)")[![mark-a-j-adriano](https://avatars.githubusercontent.com/u/11882563?v=4)](https://github.com/mark-a-j-adriano "mark-a-j-adriano (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/heyday-silverstripe-adaptivecontent/health.svg)

```
[![Health](https://phpackages.com/badges/heyday-silverstripe-adaptivecontent/health.svg)](https://phpackages.com/packages/heyday-silverstripe-adaptivecontent)
```

###  Alternatives

[silverstripe/framework

The SilverStripe framework

7313.7M2.8k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[drupal/recommended-project

Project template for Drupal projects with a relocated document root

1502.8M1](/packages/drupal-recommended-project)

PHPackages © 2026

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