drawik/symfony-maintenance-mode-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

drawik/symfony-maintenance-mode-bundle

Composer 安装命令:

composer require drawik/symfony-maintenance-mode-bundle

包简介

Bundle that enables and disables maintenance mode

README 文档

README

This Bundle enables put symfony into maintenance mode.

Bundle is prepared for Symfony ver. 6 and 7.

Installation

Composer Require

To install this extension run composer require drawik/symfony-maintenance-mode-bundle

Usage

  • Enable maintenance mode: bin/console maintenance:enable
  • Disable maintenance mode: bin/console maintenance:disable

Configuration

You can configure some behavior of bundle.

  • state of bundle (enabled/disabled) without removing bundle
  • list of ip addresses that are allowed to access site despite enabled maintenance mode
  • location of lock file (default: /tmp/maintenance_mode.lock)

Add to config/packages maintenance_mode.yaml file.

Example content:

maintenance_mode:
    maintenance_config:
        enabled: 1
        allowed_ips: [ '127.0.0.1', '172.20.0.11' ]
        lock_file_path: /tmp/maintenance_mode.lock

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固