PHPackages                             reillo/mage\_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. reillo/mage\_maintenance

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

reillo/mage\_maintenance
========================

Simple template for magento errors and maintenance mode

041CSS

Since Jul 25Pushed 9y agoCompare

[ Source](https://github.com/reillo/mage_maintenance)[ Packagist](https://packagist.org/packages/reillo/mage_maintenance)[ RSS](/packages/reillo-mage-maintenance/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simple Magento Maintenance Template
===================================

[](#simple-magento-maintenance-template)

Simple template for magento maintenance mode and allow white listed ip to access the site when maintenance mode.

[![Simple Magento Maintenance Template](https://camo.githubusercontent.com/0565ffcc17c7bc4ca9b17a94b52466aeacf963c7e7b0e77f8a25600755e8a8a6/68747470733a2f2f676f6f2e676c2f6855326f6839)](https://camo.githubusercontent.com/0565ffcc17c7bc4ca9b17a94b52466aeacf963c7e7b0e77f8a25600755e8a8a6/68747470733a2f2f676f6f2e676c2f6855326f6839)

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

[](#installation)

- Download zip files
- Extract files at your magento installation
- For white listed ip addresses. Replace or backup your original `index.php` then use and rename the `index.php.simple` to `index.php`.
- or, use and insert the code below in your `index.php` for whitelisted ip

```
/**
 * Maintenance mode
 * note! insert me after `define('MAGENTO_ROOT', getcwd());`
 */
$allowed_ip = array('127.0.0.12', '60.241.193.31');
if (file_exists(MAGENTO_ROOT.'/maintenance.flag') && !in_array($_SERVER['REMOTE_ADDR'], $allowed_ip)) {
	include_once __DIR__.'/errors/503.php';
	exit();
}
```

License
-------

[](#license)

This project is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/453ffca7f2ab93c7b23f8c8d240165c1bc315c1b4297e407fa06ee9c4fe72f04?d=identicon)[reillo](/maintainers/reillo)

---

Top Contributors

[![reillo](https://avatars.githubusercontent.com/u/6128004?v=4)](https://github.com/reillo "reillo (12 commits)")

### Embed Badge

![Health badge](/badges/reillo-mage-maintenance/health.svg)

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

PHPackages © 2026

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