This package is abandoned and no longer maintained. No replacement package was suggested.

Composer pre/post scripts for enabling/disabling maintenance mode for typo3

Installs: 288

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0



0.0.7 2016-12-08 14:47 UTC

This package is not auto-updated.

Last update: 2024-02-08 07:37:55 UTC


When you are using Typo3 with composer mode (I'm sure not only for typo3), this scripts automatically put your website to maintenance mode when you run composer update. typo3-composer-maintenance are collection of simple scripts for composer pre-update/post-update section.

Installation using Composer

$ composer require ogrosko/typo3-composer-maintenance


Add following config in scripts section of your composer.json file

"scripts": {
	"pre-update-cmd": [
	"post-update-cmd": [
	"enableMaintenance": "OGrosko\\Composer\\Typo3ComposerMaintenance::maintenance_enable",
	"disableMaintenance": "OGrosko\\Composer\\Typo3ComposerMaintenance::maintenance_disable"


Also some extra config avalible in extra section

  • template-path - use your custom maintenance template path
  • exclude-ips - exclude your ip from maintenance mode
"extra": {
	"ogrosko-composer-typo3composermaintenance": {
		"template-path": "tpl/",
		"exclude-ips": [