2017 © Pedro Peláez
 

symfony-bundle maintenance-site-bundle

This bundle allows your site in maintenance mode

image

jeriveromartinez/maintenance-site-bundle

This bundle allows your site in maintenance mode

  • Saturday, November 19, 2016
  • by Jeriveromartinez
  • Repository
  • 2 Watchers
  • 1 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

This bundle allows your site in maintenance mode for public or anonymous users, allowing you to see changes made if your user is allowed between roles

composer require jeriveromartinez/maintenance-site-bundlebr/ br/ ...br/ new J3rm\MaintenanceSiteBundle\J3rmMaintenanceSiteBundle(),, (*1)

, (*2)

configurations parameter

j3rm_maintenance_site:
path_enable: [/admin,/login]
roles_enable_offline: [ROLE_USER,ROLE_ADMIN]
maintenance: true

br/ Orbr/, (*3)

j3rm_maintenance_site:
path_enable: [/admin,/login]
roles_enable_offline: [ROLE_USER,ROLE_ADMIN]
database_offline: YourBundle:YourEntity:attributeName (the attribute most be a boolean)

br/, (*4)

  • path_enable - The administration site url which you must include the login page.
  • roles_enable_offline - The roles allowed to see the site in development mode.
  • maintenance - boolean value to enable or not the maintenance mode.
  • database_offline - It is defined where to catch the value for maintenance mode.

br/, (*5)

this bundle redirect to offline page, for that add this to routing.ymlbr/


app_offline:
resource: "@J3rmMaintenanceSiteBundle/Controller/"
type: annotation

br/, (*6)

create a error503.html.twig file into "Resources/TwigBundle/views/Exception/" and add anonymous permission in the firewall

The Versions

19/11 2016

dev-dev

dev-dev

This bundle allows your site in maintenance mode

  Sources   Download

MIT

The Requires

 

by Julio Rivero

maintenance mode site offline

19/11 2016

dev-master

9999999-dev

This bundle allows your site in maintenance mode

  Sources   Download

MIT

The Requires

 

by Julio Rivero

maintenance mode site offline

25/06 2016

2.1

2.1.0.0

This bundle allows your site in maintenance mode

  Sources   Download

MIT

The Requires

 

by Julio Rivero

maintenance mode test site offline

15/06 2016

2.0

2.0.0.0

This bundle allows your site in maintenance mode

  Sources   Download

MIT

The Requires

 

by Julio Rivero

maintenance mode test site offline

30/05 2016

1.1

1.1.0.0

This bundle allows your site in maintenance mode

  Sources   Download

MIT

The Requires

 

by Julio Rivero

maintenance mode test site offline

24/05 2016

1.0

1.0.0.0

This bundle allows your site in maintenance mode

  Sources   Download

MIT

The Requires

 

by Julio Rivero

maintenance mode test site offline