PHPackages                             janoszab/yii2-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. [Framework](/categories/framework)
4. /
5. janoszab/yii2-maintenance-mode

ActiveYii2-extension[Framework](/categories/framework)

janoszab/yii2-maintenance-mode
==============================

Maintenance mode for Yii2 framework

1.1.1(11y ago)011BSD-3-ClausePHP

Since Dec 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/janoszab/yii2-maintenance-mode)[ Packagist](https://packagist.org/packages/janoszab/yii2-maintenance-mode)[ RSS](/packages/janoszab-yii2-maintenance-mode/feed)WikiDiscussions master Synced today

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

Yii2-maintenance
================

[](#yii2-maintenance)

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

[](#installation)

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

```
"sacara/yii2-maintenance-mode": "*"

```

Add to your config file:

```
   'bootstrap' => ['log', 'maintenance'],
   ...
   'modules' => [
     'maintenance' => [
        'class' => 'sacara\maintenance\Module',
        // optional
        'maintenanceFileOn' => 'maintenance.on', // default is `maintenance.on`
     ],
   ],
```

Create a file in the `@web` directory named `maintenance.on` to activate the maintenance mode.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

4207d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/38b0499b9a3bad5deddbfab3c3fabf93c6371be8717206c51b79999ed4f91b0f?d=identicon)[janos.zab](/maintainers/janos.zab)

---

Top Contributors

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

---

Tags

yii2maintenancemode

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[yiisoft/yii2-redis

Redis Cache, Session and ActiveRecord for the Yii framework

47912.3M282](/packages/yiisoft-yii2-redis)[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k961.7k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-httpclient

HTTP client extension for the Yii framework

44411.6M327](/packages/yiisoft-yii2-httpclient)[yiisoft/yii2-debug

The debugger extension for the Yii framework

21624.5M620](/packages/yiisoft-yii2-debug)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

7101.8M8](/packages/yiisoft-yii2-app-basic)

PHPackages © 2026

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