PHPackages                             dia-nz/silverstripe-nestedcheckboxsetfield - 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. dia-nz/silverstripe-nestedcheckboxsetfield

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

dia-nz/silverstripe-nestedcheckboxsetfield
==========================================

Adds a level of nesting to a CheckboxSetField using a has\_many/has\_one relationship

v1.2(6y ago)0109WTFPLPHP

Since Mar 8Pushed 6y ago2 watchersCompare

[ Source](https://github.com/DIA-NZ/silverstripe-nestedcheckboxsetfield)[ Packagist](https://packagist.org/packages/dia-nz/silverstripe-nestedcheckboxsetfield)[ Docs](https://github.com/dia-nz/silverstripe-nestedcheckboxsetfield)[ RSS](/packages/dia-nz-silverstripe-nestedcheckboxsetfield/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

silverstripe-nestedcheckboxsetfield
===================================

[](#silverstripe-nestedcheckboxsetfield)

This adds an extra level to a CheckboxSetField, which provides some structure to a large dataset.

Example Usage
-------------

[](#example-usage)

The below will produce a set of nested fields where each Tag (which is selectable) sits under a Tag Category (just a heading, not selectable).

class Page extends SiteTree { static $many\_many = array( 'PageTags' =&gt; 'Tag' );

```
public function getCMSFields() {
    $fields = parent::getCMSFields();

    $fields->insertBefore(
        NestedCheckboxSetField::create('PageTags', 'Page Tags')
            ->setRootClass('TagCategory')
            ->setRootTitle('Title')
            ->setChildRelation('Tags')
            ->setChildTitle('Title'),
        'Content'
    );
}

```

}

class Tag extends DataObject { static $db = array( 'Title' =&gt; 'Varchar(100)' );

```
static $has_one = array(
    'Category' => 'TagCategory'
);

```

}

class TagCategory extends DataObject { static $db = array( 'Title' =&gt; 'Varchar(100)' );

```
static $has_many = array(
    'Tags' => 'Tag'
);

```

}

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~76 days

Total

2

Last Release

2460d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/262739?v=4)[Jonathan Alpers](/maintainers/sreplaj)[@sreplaj](https://github.com/sreplaj)

---

Top Contributors

[![madmatt](https://avatars.githubusercontent.com/u/893117?v=4)](https://github.com/madmatt "madmatt (10 commits)")[![pangelico](https://avatars.githubusercontent.com/u/145748491?v=4)](https://github.com/pangelico "pangelico (1 commits)")

---

Tags

silverstripeForms

### Embed Badge

![Health badge](/badges/dia-nz-silverstripe-nestedcheckboxsetfield/health.svg)

```
[![Health](https://phpackages.com/badges/dia-nz-silverstripe-nestedcheckboxsetfield/health.svg)](https://phpackages.com/packages/dia-nz-silverstripe-nestedcheckboxsetfield)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[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.1M92](/packages/silverstripe-userforms)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[unclecheese/display-logic

Allows assignment of conditions for display and hide of specific form fields based on client side behavior.

771.1M119](/packages/unclecheese-display-logic)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

20256.6k4](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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