Maintenance Mode

Maintenance Mode plugin for Craft CMS 3.x

Programmatically disable the website through command line. Use this for your automated build processes to disable the website during build!


Maintenance mode can be enabled through composer: composer require venveo/craft-maintenancemode


To enable maintenance mode: ./craft maintenancemode/maintenance-mode/enable

To disable maintenance mode: ./craft maintenancemode/maintenance-mode/disable

Example Scenario

Using Laravel Forge to deploy your Craft app, you might want to disable the website during the frontend build process:

cd /home/forge/

php craft maintenancemode/maintenance-mode/enable

git pull origin master --recurse-submodules

git submodule init
git submodule update --remote --recursive

composer install --no-interaction --prefer-dist --optimize-autoloader
echo "" | sudo -S service php7.0-fpm reload

yarn install
npm run production

php craft maintenancemode/maintenance-mode/disable

Brought to you by Venveo


Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


  • Version v1.0.3
  • Last Update 12/12/2017
  • Active Installs 114
  • Compatibility Craft 3
  • License MIT
  • Categories Utilities, Development

Report an issue