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 2w 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

2414d 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.3k10](/packages/helsingborg-stad-municipio)[unclecheese/display-logic

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

741.1M112](/packages/unclecheese-display-logic)[silverstripe/multiform

SilverStripe forms with multiple steps, flow control and state persistence

3156.8k3](/packages/silverstripe-multiform)[sheadawson/silverstripe-select2

A set of silverstripe form fields based on http://ivaynberg.github.com/select2/

1823.6k3](/packages/sheadawson-silverstripe-select2)[mediawiki/page-forms

Forms for creating and editing wiki pages.

2279.3k2](/packages/mediawiki-page-forms)[unclecheese/zen-fields

Syntactic sugar for SilverStripe FieldLists

2920.0k](/packages/unclecheese-zen-fields)

PHPackages © 2026

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