{"id":15490040,"url":"https://github.com/kmadejski/ezplatform-maintenance-mode","last_synced_at":"2026-03-05T19:06:05.464Z","repository":{"id":56251997,"uuid":"201653091","full_name":"kmadejski/ezplatform-maintenance-mode","owner":"kmadejski","description":"Maintenance mode bundle for eZ Platform v2.5+ / Ibexa DXP v3.x +","archived":false,"fork":false,"pushed_at":"2023-08-08T15:36:06.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T09:03:51.395Z","etag":null,"topics":["dxp","ezplatform","ezplatform-bundle","ibexa","ibexadxp","maintenance-mode","siteaccess","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmadejski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-10T16:08:54.000Z","updated_at":"2023-08-08T15:31:28.000Z","dependencies_parsed_at":"2025-03-04T04:30:56.468Z","dependency_job_id":"4dc28239-6420-4dd6-b6e0-675376e43012","html_url":"https://github.com/kmadejski/ezplatform-maintenance-mode","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadejski%2Fezplatform-maintenance-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadejski%2Fezplatform-maintenance-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadejski%2Fezplatform-maintenance-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadejski%2Fezplatform-maintenance-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmadejski","download_url":"https://codeload.github.com/kmadejski/ezplatform-maintenance-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306632,"owners_count":21408926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dxp","ezplatform","ezplatform-bundle","ibexa","ibexadxp","maintenance-mode","siteaccess","symfony"],"created_at":"2024-10-02T07:09:06.253Z","updated_at":"2026-03-05T19:06:00.402Z","avatar_url":"https://github.com/kmadejski.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ibexa DXP Maintenance Mode Bundle\nThis Ibexa DXP v3.x+ bundle provides a simple way to switch the whole site or selected SiteAccess to maintenance mode. \n\nIn this mode the site (or particular SiteAccess) will not be available for the end-users. Selected template is displayed instead.\n\n# Installation\n\n- Install the bundle:\n```bash\ncomposer require kmadejski/ezplatform-maintenance-mode\n```\n\n- If you do not use Symfony Flex, you have to enable the bundle manually in your `config/bundles.php` file:\n```php\n    ...\n    EzSystems\\EzPlatformMaintenanceModeBundle\\EzSystemsEzPlatformMaintenanceModeBundle::class =\u003e ['all' =\u003e true]\n```\n\n- Clear application cache:\n```bash\nphp bin/console cache:clear --env=prod\n```\n\n# Configuration\n\nBundles 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:\n```yaml\nezplatform:\n    system:\n        default:\n            maintenance_mode:\n                enabled: true\n```\n\nBy 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:\n```yaml\nezplatformgs:\n    system:\n        default:\n            maintenance_mode:\n                enabled: true\n                allowed_ips: ['::1', '10.0.0.1', '192.168.0.0/16']\n                response_code: 404\n                template: '@Acme/custom_maintenance.html.twig'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmadejski%2Fezplatform-maintenance-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmadejski%2Fezplatform-maintenance-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmadejski%2Fezplatform-maintenance-mode/lists"}