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

ActiveSilverstripe-module

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 today

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 60% 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

2363d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a04337c9268b7060dc0076cb35bfd2413b21f2cfce3f45540b38ae9b2bff8aee?d=identicon)[sreplaj](/maintainers/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

[unclecheese/display-logic

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

771.0M101](/packages/unclecheese-display-logic)[unclecheese/dropzone

An HTML5 upload field for the CMS and frontend forms.

46130.7k6](/packages/unclecheese-dropzone)[sheadawson/silverstripe-zenvalidator

Faster, easier client and server-side form validation for SilverStripe

5778.4k2](/packages/sheadawson-silverstripe-zenvalidator)[sheadawson/silverstripe-select2

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

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

SilverStripe forms with multiple steps, flow control and state persistence

3156.0k3](/packages/silverstripe-multiform)[unclecheese/zen-fields

Syntactic sugar for SilverStripe FieldLists

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

PHPackages © 2026

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