PHPackages                             dominus77/yii2-maintenance - 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. dominus77/yii2-maintenance

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

dominus77/yii2-maintenance
==========================

Switching the site on the Yii2 into maintenance mode with a timer and user subscription form displayed.

v1.0.2(5y ago)22.3k11MITPHP

Since Mar 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Dominus77/yii2-maintenance)[ Packagist](https://packagist.org/packages/dominus77/yii2-maintenance)[ RSS](/packages/dominus77-yii2-maintenance/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (4)Used By (1)

Maintenance mode for Yii2
=========================

[](#maintenance-mode-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/9f8a9ddd0cbde8e9718670ff1566e115e29986334c690fcaa1066e0af3c371c6/68747470733a2f2f706f7365722e707567782e6f72672f646f6d696e757337372f796969322d6d61696e74656e616e63652f762f737461626c65)](https://packagist.org/packages/dominus77/yii2-maintenance)[![Software License](https://camo.githubusercontent.com/ad49c3ac5ad7f99e23555f3d5251ed0da8ae431d3cdc238d0ace677e7a2b62c3/68747470733a2f2f706f7365722e707567782e6f72672f646f6d696e757337372f796969322d6d61696e74656e616e63652f6c6963656e7365)](https://github.com/Dominus77/yii2-maintenance/blob/master/LICENSE.md)[![Build Status](https://camo.githubusercontent.com/271f32308fa9ec41bc845c399d9ea7d368ec4780c1edcaf9274918f67566b0a7/68747470733a2f2f7472617669732d63692e6f72672f446f6d696e757337372f796969322d6d61696e74656e616e63652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Dominus77/yii2-maintenance)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d095d57bdab71b6bb3a844c8a45b52bc96770cafff1b1b241f7b560584fa5d4e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f446f6d696e757337372f796969322d6d61696e74656e616e63652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Dominus77/yii2-maintenance/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/7156fb20e522dfbc92d3f4222bf24e7da12b5c646c235c9ebc6a0b31c8b9d352/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f446f6d696e757337372f796969322d6d61696e74656e616e63652f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![SymfonyInsight](https://camo.githubusercontent.com/5161fc582ee0ea44faddb19ccd5b9712957ddd15c733f5ad1a958eea517fec0b/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f65613034646232312d386266302d346637362d393236662d6435383736336566303337392f6d696e692e737667)](https://insight.symfony.com/projects/ea04db21-8bf0-4f76-926f-d58763ef0379)

Switching the site on Yii2 to maintenance mode with a timer, a subscription form and sending notifications to users.

What it looks like
------------------

[](#what-it-looks-like)

Maintenance Mode [![maintenance.png](docs/images/maintenance.png)](docs/images/maintenance.png)

Maintenance mode managering [![maintenance.png](docs/images/_maintenance-backend.png)](docs/images/_maintenance-backend.png)

Management of the regime is also carried out using [console commands](docs/en/common/console-commands.md).

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require dominus77/yii2-maintenance

```

or add

```
"dominus77/yii2-maintenance": "^1.0"

```

to the require section of your `composer.json` file.

Documentation
-------------

[](#documentation)

- [English](docs/en/README.md)
- [Русский](docs/ru/README.md)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/Dominus77/yii2-maintenance/blob/master/LICENSE.md) for more information.

SymfonyInsight
--------------

[](#symfonyinsight)

[![SymfonyInsight](https://camo.githubusercontent.com/9201bdb83a6a81956d75cb9f2131d0a4c035b08286d9e8b5707957f93bb993a4/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f65613034646232312d386266302d346637362d393236662d6435383736336566303337392f6269672e737667)](https://insight.symfony.com/projects/ea04db21-8bf0-4f76-926f-d58763ef0379)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~42 days

Total

3

Last Release

2169d ago

### Community

Maintainers

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

---

Top Contributors

[![Dominus77](https://avatars.githubusercontent.com/u/9594483?v=4)](https://github.com/Dominus77 "Dominus77 (172 commits)")

---

Tags

yii2modulewidgetcomponentmaintenanceDominus77

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/dominus77-yii2-maintenance/health.svg)

```
[![Health](https://phpackages.com/badges/dominus77-yii2-maintenance/health.svg)](https://phpackages.com/packages/dominus77-yii2-maintenance)
```

###  Alternatives

[dominus77/yii2-sweetalert2-widget

Renders a SweetAlert2 widget for Yii2.

2070.4k1](/packages/dominus77-yii2-sweetalert2-widget)

PHPackages © 2026

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