承接 altis/maintenance-mode 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

altis/maintenance-mode

Composer 安装命令:

composer require altis/maintenance-mode

包简介

Maintenance mode for Altis, controlled by Altis variables.

README 文档

README

A WordPress maintenance mode module for Altis that displays a user-friendly maintenance page when your site is under maintenance, controlled via Altis environment variables.

Why?

WordPress' built-in maintenance mode isn't compatible with multi-server architecture like Altis, since it writes out to a .maintenance file.

However, there are times where you might still need to enable it - upgrading the database, rolling out substantial changes, or performing imports.

This package adds a maintenance mode which can be controlled through an Altis Dashboard variable.

This maintenance mode runs before the WordPress database loads, allowing you to perform invasive maintenance on the database including full downtime if needed.

Installation

We're working on adding this to Altis natively.

In the meantime, you can add it by adding this package to your site:

composer require altis/maintenance-mode

Usage

  1. Navigate to the Altis Dashboard
  2. Select your environment
  3. Go to SettingsVariables
  4. Add a new variable:
    • Name: MAINTENANCE_MODE
    • Value: true

Then, deploy your site to update the variables. The maintenance page will be displayed across your entire site.

The login form, admin, and CLI are unaffected by maintenance mode, enabling you to continue administrative tasks if needed.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-09-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固