PHPackages                             gorriecoe/silverstripe-groupbycount - 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. gorriecoe/silverstripe-groupbycount

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

gorriecoe/silverstripe-groupbycount
===================================

Grouped list by specified numeric amount

1.0.0(8y ago)53901BSD-3-ClausePHP

Since Mar 7Pushed 8y ago2 watchersCompare

[ Source](https://github.com/gorriecoe/silverstripe-groupbycount)[ Packagist](https://packagist.org/packages/gorriecoe/silverstripe-groupbycount)[ Docs](http://github.com/gorriecoe/silverstripe-groupbycount)[ RSS](/packages/gorriecoe-silverstripe-groupbycount/feed)WikiDiscussions master Synced 2mo ago

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

Silverstripe group by count
===========================

[](#silverstripe-group-by-count)

Grouped list by specified numeric amount

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

[](#installation)

Composer is the recommended way of installing SilverStripe modules.

```
composer require gorriecoe/silverstripe-groupbycount

```

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

[](#requirements)

- silverstripe/cms ^4.0

Maintainers
-----------

[](#maintainers)

- [Gorrie Coe](https://github.com/gorriecoe)

Usage
-----

[](#usage)

Here is a standard list of links

```

                $Title

```

Lets say we have 5 links and want to group them in groups of 2.

```

                    $Title

```

Output

```

        title

        title

        title

        title

        title

```

Now lets say we have 8 links and want group them so that the first group has 2 links, the second group has 3 and third has 1 then repeat this pattern.

```

                    $Title

```

Output

```

        title

        title

        title

        title

        title

        title

        title

        title

```

Finally lets say we have 11 links and the first group will have 2 links while all groups remaining will have 3.

```

                    $Title

```

Output

```

        title

        title

        title

        title

        title

        title

        title

        title

        title

        title

        title

```

Count vs MaxCount
-----------------

[](#count-vs-maxcount)

Within each group is `$MaxCount` which returns the defined count for that group. This is different from `$Count` which returns the actual count for that group.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2987d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11811440?v=4)[Gorrie Coe](/maintainers/gorriecoe)[@gorriecoe](https://github.com/gorriecoe)

---

Top Contributors

[![gorriecoe](https://avatars.githubusercontent.com/u/11811440?v=4)](https://github.com/gorriecoe "gorriecoe (3 commits)")

---

Tags

silverstripelistgroup

### Embed Badge

![Health badge](/badges/gorriecoe-silverstripe-groupbycount/health.svg)

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

###  Alternatives

[symbiote/silverstripe-grouped-cms-menu

Allows you to group CMS menu items.

3696.2k6](/packages/symbiote-silverstripe-grouped-cms-menu)[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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