PHPackages                             moritz-sauer-13/silverstripe-user-invitation - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. moritz-sauer-13/silverstripe-user-invitation

ActiveSilverstripe-vendormodule[Authentication &amp; Authorization](/categories/authentication)

moritz-sauer-13/silverstripe-user-invitation
============================================

A SilverStripe module to handle user invitations to your secure website.

1.0.2(6mo ago)05BSD-3-ClausePHP

Since Jul 8Pushed 5mo agoCompare

[ Source](https://github.com/moritz-sauer-13/silverstripe-user-invitation)[ Packagist](https://packagist.org/packages/moritz-sauer-13/silverstripe-user-invitation)[ RSS](/packages/moritz-sauer-13-silverstripe-user-invitation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

SilverStripe User Invitation
============================

[](#silverstripe-user-invitation)

This module adds the ability to invite users to a secure website (e.g. Intranet or Extranet).

[![CI](https://github.com/dynamic/silverstripe-user-invitation/actions/workflows/ci.yml/badge.svg)](https://github.com/dynamic/silverstripe-user-invitation/actions/workflows/ci.yml)[![Sponsor](https://camo.githubusercontent.com/54231f4277e58913424d5c43ed5f4656353f03afca6f58982dd22a9876fca1a1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53706f6e736f722d44796e616d69632d626c75652e737667)](https://github.com/sponsors/dynamic)

[![Latest Stable Version](https://camo.githubusercontent.com/2d89268124badb91ad74768d1002178586ea7c0de82e63d9b4d3eea04a885b30/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d757365722d696e7669746174696f6e2f762f737461626c65)](https://packagist.org/packages/dynamic/silverstripe-user-invitation)[![Total Downloads](https://camo.githubusercontent.com/fbd80bc7586eb189631cdba8ce7ea7fe922767953aba9ad19add17c5d4bb6812/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d757365722d696e7669746174696f6e2f646f776e6c6f616473)](https://packagist.org/packages/dynamic/silverstripe-user-invitation)[![Latest Unstable Version](https://camo.githubusercontent.com/baff39dda5574922b2058e26261400bfabd8af16b69197771b8445f5f0d949f1/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d757365722d696e7669746174696f6e2f762f756e737461626c65)](https://packagist.org/packages/dynamic/silverstripe-user-invitation)[![License](https://camo.githubusercontent.com/bbf98afefe19e1b016c44645c65a386ef7961be6fcb1f6536c1939974c3850af/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d69632f73696c7665727374726970652d757365722d696e7669746174696f6e2f6c6963656e7365)](https://packagist.org/packages/dynamic/silverstripe-user-invitation)

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

[](#requirements)

- PHP ^8.3
- SilverStripe ^6.0
- [lekoala/silverstripe-cms-actions](https://github.com/lekoala/silverstripe-cms-actions) ^2.0

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

[](#installation)

```
composer require dynamic/silverstripe-user-invitation
```

Features
--------

[](#features)

- **Quick-entry invitation form** - By default only first name and email fields are required to invite someone
- **Email invitations** - Sends email invitations to recipients
- **User group assignment** - Supports optional user group assignment (can be made required via configuration)
- **Invitation expiry** - Invitation expiry can be set via configuration
- **Member validation** - Default SilverStripe member validation is applied
- **CMS interface** - Create and send invites from CMS admin interface or frontend form

Usage
-----

[](#usage)

This module enables you to invite users to register on your site. Users can be invited from either:

### Frontend Form

[](#frontend-form)

[![Frontend invite](docs/frontend-invite.png "Frontend invite")](docs/frontend-invite.png)

### CMS Admin Interface

[](#cms-admin-interface)

[![CMS invite](docs/cms-invite.png "CMS invite")](docs/cms-invite.png)

Configuration
-------------

[](#configuration)

### Email Configuration

[](#email-configuration)

Set an admin email address (used as sender) in your `app/_config/email.yml` file:

```
SilverStripe\Control\Email\Email:
  admin_email:
    mail@example.com: 'Admin at example.com'
```

For easy email testing, use:

### Force Required User Group Assignment

[](#force-required-user-group-assignment)

To require group selection when inviting users, add the following to your configuration:

```
Dynamic\SilverStripe\UserInvitations\Model\UserInvitation:
  force_require_group: true
```

### Template Override

[](#template-override)

To update the base template, use `updateMainTemplates`. It defaults to `Page`.

```
/**
 * @param array $mainTemplates
 */
public function updateMainTemplates(&$mainTemplates)
{
    array_unshift($mainTemplates, 'InvitationPage');
}
```

### Redirect After Successful User Creation

[](#redirect-after-successful-user-creation)

Set a custom 'BackURL' to redirect users after completing signup from invitation:

```
Dynamic\SilverStripe\UserInvitations\Control\UserController:
  back_url: '/admin/'
```

License
-------

[](#license)

See [License](LICENSE.md)

Upgrading from 1.x to 2.x
-------------------------

[](#upgrading-from-1x-to-2x)

Version 2.0 is compatible with SilverStripe 6. Key changes:

- **PHP 8.3+** required
- **SilverStripe CMS 6** required
- Updated dependency: `lekoala/silverstripe-cms-actions` ^2.0
- Validation classes moved to new namespaces
- Form validation API updated

Please review the [SilverStripe 6 upgrade guide](https://docs.silverstripe.org/en/6/changelogs/6.0.0/) for detailed information about framework changes.

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

[](#maintainers)

- [Dynamic](https://www.dynamicagency.com) ()

Credits
-------

[](#credits)

Forked from [FSWebWorks/silverstripe-user-invitation](https://github.com/FSWebWorks/silverstripe-user-invitation) to upgrade for Silverstripe 4 &amp; 5.

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance69

Regular maintenance activity

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~160 days

Total

4

Last Release

193d ago

Major Versions

0.0.0 → 1.02025-10-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/237ff98c98e71b509c4dac62b31efaf7823cca011952ded67579a6cf763b7a47?d=identicon)[moritz-sauer-13](/maintainers/moritz-sauer-13)

---

Top Contributors

[![moritz-sauer-13](https://avatars.githubusercontent.com/u/43135946?v=4)](https://github.com/moritz-sauer-13 "moritz-sauer-13 (16 commits)")[![jsirish](https://avatars.githubusercontent.com/u/1163643?v=4)](https://github.com/jsirish "jsirish (13 commits)")[![muskie9](https://avatars.githubusercontent.com/u/870751?v=4)](https://github.com/muskie9 "muskie9 (6 commits)")[![thomasbnielsen](https://avatars.githubusercontent.com/u/2331955?v=4)](https://github.com/thomasbnielsen "thomasbnielsen (1 commits)")

---

Tags

silverstripeuser invitation

###  Code Quality

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/moritz-sauer-13-silverstripe-user-invitation/health.svg)

```
[![Health](https://phpackages.com/badges/moritz-sauer-13-silverstripe-user-invitation/health.svg)](https://phpackages.com/packages/moritz-sauer-13-silverstripe-user-invitation)
```

###  Alternatives

[silverstripe/contentreview

Flags pages for periodical author review (incl. reporting)

22264.3k4](/packages/silverstripe-contentreview)[silverstripe/mfa

Enable multi-factor authentication with fallback codes

10346.1k8](/packages/silverstripe-mfa)[bigfork/silverstripe-oauth-login

SilverStripe logins via OAuth2, using the PHP League's OAuth2 client

1794.7k2](/packages/bigfork-silverstripe-oauth-login)

PHPackages © 2026

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