PHPackages                             thisisbd/silverstripe-maintenance-mode - 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. thisisbd/silverstripe-maintenance-mode

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

thisisbd/silverstripe-maintenance-mode
======================================

SilverStripe Maintenance Mode Module. Allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.

v1.0.5(9y ago)2311.6k19[4 issues](https://github.com/dljoseph/silverstripe-maintenance-mode/issues)[4 PRs](https://github.com/dljoseph/silverstripe-maintenance-mode/pulls)BSD-3-ClausePHP

Since Oct 15Pushed 3y ago4 watchersCompare

[ Source](https://github.com/dljoseph/silverstripe-maintenance-mode)[ Packagist](https://packagist.org/packages/thisisbd/silverstripe-maintenance-mode)[ Docs](http://github.com/dljoseph/silverstripe-maintenance-mode)[ RSS](/packages/thisisbd-silverstripe-maintenance-mode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (9)Used By (0)

SilverStripe Maintenance Mode Module
====================================

[](#silverstripe-maintenance-mode-module)

Maintainance/Offline Mode Module for SilverStripe. Allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.

Maintainer Contacts
-------------------

[](#maintainer-contacts)

- Dynamic ``

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

[](#requirements)

This branch will aim for compatibility with SilverStripe 4.x.

For SilverStripe 3.x, please see the [compatible branch](https://github.com/dynamic/silverstripe-maintenance-mode/tree/1.0).

Installation Instructions
-------------------------

[](#installation-instructions)

Installation can be done either by composer or by manually downloading a release.

### Via composer

[](#via-composer)

`composer require "dljoseph/silverstripe-maintenance-mode:*"`

### Manually

[](#manually)

1. Download the module from [the releases page](https://github.com/dynamic/silverstripe-maintenance-mode/releases).
2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
3. Make sure the folder after being extracted is named 'maintenance-mode'
4. Place this directory in your sites root directory. This is the one with framework and cms in it.
5. Visit `/dev/build/?flush` to rebuild the database.

Usage Overview
--------------

[](#usage-overview)

A "Maintenance Mode" checkbox will be added to the SiteConfig Access settings; from there you can activate maintenance mode to take the site offline - and a new Utility Page will be added to the SiteTree in the Pages section of the CMS. You can edit the content of the Utility Page and/or manually override which theme template SilverStripe uses to render the page for display.

### Templating

[](#templating)

To override the default UtilityPage template, add a template called UtilityPage.ss in the templates folder of your theme (above Layouts) and then flush the template cache.

If you wish to use a different template for the UtilityPage, there are no restrictions, simply create a new SilverStripe template file, be sure to place it directly in the templates folder (above Layouts) and visit /?flush to flush the template cache. Afterwards, you must go to the UtilityPage in the CMS and select the manually select the template from the dropdown to tell SilverStripe which template to use to render the page for display.

### Redirecting vs. Displaying at any URL

[](#redirecting-vs-displaying-at-any-url)

By default, the current functionality is to redirect users to a separate URL which you can configure within the CMS (e.g. `/offline/`), however it may be useful for you to simply display the maintenance message at any URL that the user may visit (to ensure user does not lose the page that they're currently at, in case maintenance window is very short).

To disable redirects, drop the following lines into your site's `config.yaml` file:

```
UtilityPage:
  DisableRedirect: true
```

### Command Line

[](#command-line)

You can toggle maintenance mode either `on` or `off` via the command line easily by simply running the `MaintenanceMode` task. For example:

```
# Via Sake:
sake dev/tasks/MaintenanceMode on

# Via the CLI script directly:
php framework/cli-script.php dev/tasks/MaintenanceMode on
```

### Allowing specific IP addresses

[](#allowing-specific-ip-addresses)

You can configure the module to also allow specific IP addresses pass the maintenance page. To add IP's add the following lines into your site's `config.yaml` file:

```
Page_Controller:
  allowed_ips:
    - '127.0.0.1'
    - '::1'
```

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 65.2% 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 ~114 days

Recently: every ~199 days

Total

8

Last Release

3060d ago

Major Versions

1.0.x-dev → v2.0.0-beta.12017-12-22

### Community

Maintainers

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

---

Top Contributors

[![dljoseph](https://avatars.githubusercontent.com/u/2602860?v=4)](https://github.com/dljoseph "dljoseph (30 commits)")[![patricknelson](https://avatars.githubusercontent.com/u/4269377?v=4)](https://github.com/patricknelson "patricknelson (7 commits)")[![martinduparc](https://avatars.githubusercontent.com/u/839534?v=4)](https://github.com/martinduparc "martinduparc (2 commits)")[![mattrayner](https://avatars.githubusercontent.com/u/3502902?v=4)](https://github.com/mattrayner "mattrayner (2 commits)")[![4t4r1](https://avatars.githubusercontent.com/u/264431?v=4)](https://github.com/4t4r1 "4t4r1 (1 commits)")[![roopezero](https://avatars.githubusercontent.com/u/13299101?v=4)](https://github.com/roopezero "roopezero (1 commits)")[![jelicanin](https://avatars.githubusercontent.com/u/692844?v=4)](https://github.com/jelicanin "jelicanin (1 commits)")[![muskie9](https://avatars.githubusercontent.com/u/870751?v=4)](https://github.com/muskie9 "muskie9 (1 commits)")[![mylesthedev](https://avatars.githubusercontent.com/u/909749?v=4)](https://github.com/mylesthedev "mylesthedev (1 commits)")

---

Tags

silverstripelanding page maintenance modeunder constructioncoming soonutility pageoffline page

### Embed Badge

![Health badge](/badges/thisisbd-silverstripe-maintenance-mode/health.svg)

```
[![Health](https://phpackages.com/badges/thisisbd-silverstripe-maintenance-mode/health.svg)](https://phpackages.com/packages/thisisbd-silverstripe-maintenance-mode)
```

PHPackages © 2026

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