PHPackages                             nuboxdevcom/maintenance-bundle - 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. nuboxdevcom/maintenance-bundle

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

nuboxdevcom/maintenance-bundle
==============================

Maintenance bundle for Symfony 3.x 4.x

2.0.3(8y ago)21171MITCSSPHP ^7.1

Since Jun 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/SBordier44/maintenance-bundle)[ Packagist](https://packagist.org/packages/nuboxdevcom/maintenance-bundle)[ Docs](https://github.com/nuboxdevcom/maintenance-bundle)[ RSS](/packages/nuboxdevcom-maintenance-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

MaintenanceBundle v2
====================

[](#maintenancebundle-v2)

[![SensioLabsInsight](https://camo.githubusercontent.com/481fd2229abca52283317f75aedb70dfbfde8d8cf5d7da335aba3044ff396a18/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f32656430313364612d613334392d343134372d623464312d6331343265623338643239302f6269672e706e67)](https://insight.sensiolabs.com/projects/2ed013da-a349-4147-b4d1-c142eb38d290)

[![License](https://camo.githubusercontent.com/9cc21551e9dbbffd98044cec999d956131d2f12292502f965f922834caa54596/68747470733a2f2f706f7365722e707567782e6f72672f6e75626f78646576636f6d2f6d61696e74656e616e63652d62756e646c652f6c6963656e73653f666f726d61743d666c6174)](https://packagist.org/packages/nuboxdevcom/maintenance-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/1294960b6b1198c0a556ea6e7afa6ede0e423dd5f69f1d208496a5209394670f/68747470733a2f2f706f7365722e707567782e6f72672f6e75626f78646576636f6d2f6d61696e74656e616e63652d62756e646c652f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/nuboxdevcom/maintenance-bundle)

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

[](#requirements)

- PHP `>=7.1`
- symfony/framework-bundle `>= 3.4 || ^4.0`
- Twig `^2.4`

⚠️ Symfony before version 3.4 NOTICE
------------------------------------

[](#warning-symfony-before-version-34-notice)

Please use ^1.x branch versions.

2.x versions is incompatible with versions lower than symfony 3.4

Installation:
-------------

[](#installation)

Pretty simple with [Composer](http://packagist.org), run:

```
$ composer require nuboxdevcom/maintenance-bundle
```

### Simply Configuration

[](#simply-configuration)

Enter your IPs here to allow you to access your site during a maintenance.

In config/ndc\_maintenance.yaml

```
ndc_maintenance:
    authorized_ips:
        - '127.0.0.1'
        - 'your.ip.domain.name.example'
```

### Configuration

[](#configuration)

Symfony Flex takes care of everything!

### How to Use

[](#how-to-use)

In your template, add this to let you know if the site is in maintenance

```
    {% if isMaintenanceMode() %}
        Your site is in maintenance mode...
    {% endif %}
```

> **isMaintenanceMode()** return boolean true or false.

If you want to activate maintenance mode, you will need to call the following method

```
    $this->get('maintenance.service')->enableMaintenanceAction();
```

Or

```
    $this->get('maintenance.service')->disableMaintenanceAction();
```

To disable maintenance mode.

If you want to know if maintenance is enabled from a controller, use this method

```
    $this->get('maintenance.service')->isMaintenanceMode();
```

> **isMaintenanceMode()** return boolean true or false.

### How to change the view of maintenance page

[](#how-to-change-the-view-of-maintenance-page)

If you want to change the view, create a new view file

```
    templates/bundles/NDCMaintenanceBundle/maintenance.html.twig
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3035d ago

Major Versions

1.0.2 → 2.0.32018-01-24

PHP version history (4 changes)1.0.0PHP &gt;=7.1.0

1.0.1PHP &gt;=7.1

1.0.2PHP &gt;=7.0

2.0.3PHP ^7.1

### Community

Maintainers

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

---

Tags

symfonybundlemaintenancenuboxnuboxdevcommaintenance-bundle

### Embed Badge

![Health badge](/badges/nuboxdevcom-maintenance-bundle/health.svg)

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

###  Alternatives

[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[lexik/translation-bundle

This bundle allows to import translation files content into the database and provide a GUI to edit translations.

4362.7M19](/packages/lexik-translation-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

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