PHPackages                             titledk/silverstripe-defaultgroups - 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. titledk/silverstripe-defaultgroups

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

titledk/silverstripe-defaultgroups
==================================

Programmatically define default groups

01132PHP

Since Mar 31Pushed 9y ago2 watchersCompare

[ Source](https://github.com/titledk/silverstripe-defaultgroups)[ Packagist](https://packagist.org/packages/titledk/silverstripe-defaultgroups)[ RSS](/packages/titledk-silverstripe-defaultgroups/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Default Groups
==============

[](#default-groups)

Programmatically define default groups

Can be added to a member extension like this:
---------------------------------------------

[](#can-be-added-to-a-member-extension-like-this)

```
class MemberExtension extends DataExtension {

  const APP_ADMIN_GROUP_CODE = 'app-admins';
  const APP_USER_GROUP_CODE = 'app-users';

	public function requireDefaultRecords() {
		parent::requireDefaultRecords();

		DefaultGroupsHelper::default_group(
			MemberExtension::APP_USER_GROUP_CODE, //group code
			_t('MemberExtension.AppUsers','App Users'), //group name
			null, //parent code
			null //permissions
		);
		DefaultGroupsHelper::default_group(
			MemberExtension::APP_ADMIN_GROUP_CODE, //group code
			_t('MemberExtension.AppAdministrators','App Administrators'), //group name
			MemberExtension::APP_USER_GROUP_CODE, // parent code
			//permissions:
			array(
				'APP_ACCESS_ADMIN'
			)
		);

	}
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/13746b594daa08825bdaeea495edaa9e8868cb9e352f929e0c617e72b4cbde70?d=identicon)[titledk](/maintainers/titledk)

---

Top Contributors

[![anselmdk](https://avatars.githubusercontent.com/u/1316533?v=4)](https://github.com/anselmdk "anselmdk (7 commits)")

### Embed Badge

![Health badge](/badges/titledk-silverstripe-defaultgroups/health.svg)

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

###  Alternatives

[joaopaulolndev/filament-world-clock

Show hours around the world by timezone

3111.9k](/packages/joaopaulolndev-filament-world-clock)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

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