2017 © Pedro PelĂĄez
 

symfony-bundle maintenance-bundle

Symfony Bundle to place your Symfony website in maintenance mode

image

artgris/maintenance-bundle

Symfony Bundle to place your Symfony website in maintenance mode

  • Tuesday, September 19, 2017
  • by artgris
  • Repository
  • 2 Watchers
  • 3 Stars
  • 329 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 34 % Grown

The README.md

MaintenanceBundle

Symfony Bundle to place your Symfony website in maintenance mode - Default Maintenance Page, (*1)

Installation

1) Download

composer require artgris/maintenance-bundle, (*2)

2) Configure the Bundle

Adds following configurations, (*3)

to config/packages/artgris_maintenance.yaml :, (*4)

artgris_maintenance:
    enable: true                 # Enable|Disable maintenance - default: false
    ips: ["127.0.0.1","::1",...] # IPs allow (prod) - default: []
    response: 503                # Maintenance Page HTTP Status Code - default: 503

3) Override maintenance.html.twig (optional)

in templates/bundles/ArtgrisMaintenanceBundle/maintenance.html.twig, (*5)

ex:, (*6)

{% extends "@!ArtgrisMaintenance/maintenance.html.twig" %}

{% block content %}


Site en cours de maintenance

<h2>Nous reviendrons bientÎt. Désolé pour le dérangement.</h2> {% endblock %}

Usage

The dev environment was not affected by maintenance., (*7)

  • Enable|Disable maintenance : enable: true|false
  • Add authorized IPs to prod : ips: ["127.0.0.1","::1",...]
  • Maintenance Page HTTP Status Code : response: 503

Don't forget to clear the prod cache :, (*8)

php bin/console cache:clear

The Versions

19/09 2017

dev-master

9999999-dev https://github.com/artgris/MaintenanceBundle

Symfony Bundle to place your Symfony website in maintenance mode

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

19/09 2017

1.0.7

1.0.7.0 https://github.com/artgris/MaintenanceBundle

Symfony Bundle to place your Symfony website in maintenance mode

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

27/07 2017

1.0.6

1.0.6.0 https://github.com/artgris/MaintenanceBundle

Symfony Bundle to place your Symfony website in maintenance mode

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

18/01 2017

1.0.5

1.0.5.0 https://github.com/artgris/MaintenanceBundle

Symfony Bundle to place your Symfony website in maintenance mode

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

03/12 2016

1.0.4

1.0.4.0 https://github.com/artgris/MaintenanceBundle

Symfony Bundle to place your Symfony website in maintenance mode

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

21/11 2016

1.0.3

1.0.3.0 https://github.com/artgris/MaintenanceBundle

maintenance bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

18/11 2016

1.0.2

1.0.2.0 https://github.com/artgris/MaintenanceBundle

maintenance bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Arthur Gribet

maintenance bundle symfony

17/11 2016

1.0.1

1.0.1.0 https://github.com/artgris/MaintenanceBundle

maintenance bundle

  Sources   Download

MIT

The Requires

 

by Arthur Gribet

maintenance bundle symfony

17/11 2016

1.0.0

1.0.0.0 https://github.com/artgris/MaintenanceBundle

maintenance bundle

  Sources   Download

MIT

The Requires

 

by Arthur Gribet

maintenance bundle symfony