Download the PHP package kmadejski/ezplatform-maintenance-mode without Composer
On this page you can find all versions of the php package kmadejski/ezplatform-maintenance-mode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kmadejski/ezplatform-maintenance-mode
More information about kmadejski/ezplatform-maintenance-mode
Files in kmadejski/ezplatform-maintenance-mode
Package ezplatform-maintenance-mode
Short Description Maintenance mode bundle for Ibexa DXP v2.5+
License GPL-2.0-only
Homepage https://github.com/kmadejski/ezplatform-maintenance-mode
Informations about the package ezplatform-maintenance-mode
Ibexa DXP Maintenance Mode Bundle
This Ibexa DXP v3.x+ bundle provides a simple way to switch the whole site or selected SiteAccess to maintenance mode.
In this mode the site (or particular SiteAccess) will not be available for the end-users. Selected template is displayed instead.
Installation
-
Install the bundle:
-
If you do not use Symfony Flex, you have to enable the bundle manually in your
config/bundles.php
file: - Clear application cache:
Configuration
Bundles configuratiton is SiteAccess-aware, therefore all options are configurable in ezplatform.yml
under default
SiteAccess configuration key (if you want to switch the whole site into maintenance mode) or under selected SiteAccess:
By default 503
HTTP response code is returned and a default template @EzSystemsEzPlatformMaintenanceMode/maintenance.html.twig
is rendered. No IP addresses are allowed to visit the page. To modify this behaviour you can add an additional configuration as following example presents:
All versions of ezplatform-maintenance-mode with dependencies
ezsystems/ezplatform-kernel Version ^1.2
symfony/dependency-injection Version ^5.1
symfony/config Version ^5.1
symfony/event-dispatcher Version ^5.1
symfony/http-foundation Version ^5.1
symfony/http-kernel Version ^5.1