PHPackages                             silverstripe/login-forms - 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. [Templating &amp; Views](/categories/templating)
4. /
5. silverstripe/login-forms

ActiveSilverstripe-vendormodule[Templating &amp; Views](/categories/templating)

silverstripe/login-forms
========================

A collection of templates for the CMS login screens

6.1.1(3mo ago)191.3M↓16.5%14[1 issues](https://github.com/silverstripe/silverstripe-login-forms/issues)[4 PRs](https://github.com/silverstripe/silverstripe-login-forms/pulls)20BSD-3-ClauseSCSSPHP ^8.3CI failing

Since Jun 26Pushed 1mo ago13 watchersCompare

[ Source](https://github.com/silverstripe/silverstripe-login-forms)[ Packagist](https://packagist.org/packages/silverstripe/login-forms)[ Docs](https://github.com/silverstripe/login-forms)[ RSS](/packages/silverstripe-login-forms/feed)WikiDiscussions 6 Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (97)Used By (20)

Silverstripe Login Forms
========================

[](#silverstripe-login-forms)

[![CI](https://github.com/silverstripe/silverstripe-login-forms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-login-forms/actions/workflows/ci.yml)[![Silverstripe supported module](https://camo.githubusercontent.com/9b7e93d393a01f6d3091fb30983b870aa863ef076858115faaa1c74b995854ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73696c7665727374726970652d737570706f727465642d3030373143342e737667)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

Overview
--------

[](#overview)

The [Silverstripe Login Forms module](https://github.com/silverstripe/silverstripe-login-forms) provides templates for the login screen.

Silverstripe CMS defaults to using the standard `Page.ss` template for login forms, and is usually customised through the `Layout/Security.ss` template. This module overrides any template or theme inheritance, and uses its own `Security.ss` template, in order to provide consistent styling and behaviour that's independent from the specifics in your project. This enables more sophisticated login styling, such as multi-factor authentication through [silverstripe/mfa](https://github.com/silverstripe/silverstripe-mfa).

[![Login forms installed in the CMS](docs/en/_images/screenshot.png)](docs/en/_images/screenshot.png)

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

[](#installation)

```
composer require silverstripe/login-forms
```

Usage
-----

[](#usage)

### Customising your brand

[](#customising-your-brand)

Even though this template is generic, it's often a good idea to add your own logo in order to make your login forms more recognisable for your users. This can also help to prevent generic phishing attempts.

Define an `app/templates/Includes/AppBrand.ss` template and add your own logo. Example:

```

```

### Replacing templates

[](#replacing-templates)

In the unlikely case that you want to re-introduce some customisations into this new template, you can give priority to your own project templates (`$default`), or your theme templates.

```
---
Before:
  - '#login-forms'
---
SilverStripe\LoginForms\EnablerExtension:
  login_themes:
    - '$default'
    - 'mytheme'
```

Caution: Replacing the `Security.ss` template is not recommended, since it might change in the future.

### Dark mode

[](#dark-mode)

The login form includes a dark mode by default for users who prefer it. However, if your site is not designed for dark mode yet, you can disable this functionality by disabling it in your yaml configuration:

```
SilverStripe\Security\Security:
  enable_dark_mode: false
```

Contributing
------------

[](#contributing)

Contributions are welcome! Create an issue, explaining a bug or propose development ideas. Find more information on [contributing](https://docs.silverstripe.org/en/contributing/) in the Silverstripe CMS developer documentation.

Reporting Issues
----------------

[](#reporting-issues)

Please [create an issue](https://github.com/silverstripe/silverstripe-login-forms/issues/new)for any bugs you've found, or features you're missing.

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance84

Actively maintained with recent releases

Popularity50

Moderate usage in the ecosystem

Community42

Growing community involvement

Maturity90

Battle-tested with a long release history

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

Recently: every ~0 days

Total

91

Last Release

98d ago

Major Versions

4.x-dev → 5.1.22024-02-14

5.3.0-rc1 → 6.0.0-alpha12024-11-20

5.3.1 → 6.0.02025-06-05

5.3.2 → 6.0.12025-08-18

5.x-dev → 6.1.x-dev2026-02-10

PHP version history (4 changes)4.6.0-beta1PHP ^7.3 || ^8.0

4.7.0PHP ^7.4 || ^8.0

5.0.0-alpha1PHP ^8.1

6.0.0-alpha1PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/654636?v=4)[Aaron Carlino](/maintainers/unclecheese)[@unclecheese](https://github.com/unclecheese)

![](https://www.gravatar.com/avatar/b0cba8b534e20e6ab4fff555a97b237a18436ebca1446fc0b29c8a8b504038b9?d=identicon)[GuySartorelli](/maintainers/GuySartorelli)

![](https://avatars.githubusercontent.com/u/111025?v=4)[Ingo Schommer](/maintainers/chillu)[@chillu](https://github.com/chillu)

![](https://www.gravatar.com/avatar/a25bc04c5720a36869d5a39c6449dde7eb43e19b7c8e666d5f632d6a9ab440b1?d=identicon)[emteknetnz](/maintainers/emteknetnz)

![](https://www.gravatar.com/avatar/afbb3dcc9ef29c1a6eedd6addcae5fce9ab1271915a85a4c349301b71237368d?d=identicon)[silverstripe-machine01](/maintainers/silverstripe-machine01)

![](https://www.gravatar.com/avatar/be6648e60fbab6f70bfc34dd8c14259562d28a47510a934ea9c01fe98633f3c2?d=identicon)[sminnee](/maintainers/sminnee)

![](https://avatars.githubusercontent.com/u/1168676?v=4)[Maxime Rainville](/maintainers/maxime-rainville)[@maxime-rainville](https://github.com/maxime-rainville)

![](https://www.gravatar.com/avatar/df310131241d4c61c7321dd5743b80d9f2e7c057e1b587b942ceb06c5682973a?d=identicon)[Cheddam](/maintainers/Cheddam)

---

Top Contributors

[![emteknetnz](https://avatars.githubusercontent.com/u/4809037?v=4)](https://github.com/emteknetnz "emteknetnz (96 commits)")[![GuySartorelli](https://avatars.githubusercontent.com/u/36352093?v=4)](https://github.com/GuySartorelli "GuySartorelli (72 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (35 commits)")[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (29 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")[![bergice](https://avatars.githubusercontent.com/u/541886?v=4)](https://github.com/bergice "bergice (10 commits)")[![purplespider](https://avatars.githubusercontent.com/u/329880?v=4)](https://github.com/purplespider "purplespider (6 commits)")[![ScopeyNZ](https://avatars.githubusercontent.com/u/3260989?v=4)](https://github.com/ScopeyNZ "ScopeyNZ (5 commits)")[![raissanorth](https://avatars.githubusercontent.com/u/14869519?v=4)](https://github.com/raissanorth "raissanorth (4 commits)")[![3Dgoo](https://avatars.githubusercontent.com/u/2616373?v=4)](https://github.com/3Dgoo "3Dgoo (3 commits)")[![NightJar](https://avatars.githubusercontent.com/u/778003?v=4)](https://github.com/NightJar "NightJar (3 commits)")[![sabina-talipova](https://avatars.githubusercontent.com/u/87288324?v=4)](https://github.com/sabina-talipova "sabina-talipova (3 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (2 commits)")[![dnsl48](https://avatars.githubusercontent.com/u/9313746?v=4)](https://github.com/dnsl48 "dnsl48 (1 commits)")[![dhensby](https://avatars.githubusercontent.com/u/563596?v=4)](https://github.com/dhensby "dhensby (1 commits)")[![elliot-sawyer](https://avatars.githubusercontent.com/u/354793?v=4)](https://github.com/elliot-sawyer "elliot-sawyer (1 commits)")[![michalkleiner](https://avatars.githubusercontent.com/u/233342?v=4)](https://github.com/michalkleiner "michalkleiner (1 commits)")[![TheBnl](https://avatars.githubusercontent.com/u/1334195?v=4)](https://github.com/TheBnl "TheBnl (1 commits)")[![vinstah](https://avatars.githubusercontent.com/u/4538082?v=4)](https://github.com/vinstah "vinstah (1 commits)")

---

Tags

hacktoberfestsilverstripetemplateloginstyling

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/silverstripe-login-forms/health.svg)

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

###  Alternatives

[stevie-mayhew/silverstripe-svg

Basic SVG support for SilverStripe

23326.5k4](/packages/stevie-mayhew-silverstripe-svg)[silverstripe-themes/simple

The SilverStripe simple theme (default SilverStripe 3 theme)

411.3M8](/packages/silverstripe-themes-simple)[symbiote/silverstripe-listingpage

A module that allows CMS users to create templated listing pages.

1012.7k2](/packages/symbiote-silverstripe-listingpage)

PHPackages © 2026

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