定制 wahlemedia/statamic-maintenance-mode 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

wahlemedia/statamic-maintenance-mode

最新稳定版本:2.0.2

Composer 安装命令:

composer require wahlemedia/statamic-maintenance-mode

包简介

Set your statamic site into maintenance mode

README 文档

README

Statamic Maintenance Mode

Statamic 6.0+

This is a tiny addon for Statamic CMS that allows easily to set your site into maintenance mode and whitelist sites, that should be still reachable (i.e. like /imprint or /privacy). When in maintenance mode, visitors to the site will see a customizable maintenance page, and administrators will be able to access the site normally.

settings

How to Install

You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:

composer require wahlemedia/statamic-maintenance-mode

How to configure (optional)

You can override the default options by publishing the configuration:

php artisan vendor:publish --provider="Wahlemedia\StatamicMaintenanceMode\ServiceProvider" --tag=config

This will copy the default config file to config/statamic/maintenance_mode.php.

How to Use

  1. Create globals with the name configuration. If you like change the name of the globals you can adjust it within the config file.
  2. Link the statamic-maintenance-mode::globals_maintainance fieldset.
  3. Add a site that should be used as a maintenance one.
  4. (optional) Add sites, that shoud be whitelisted.
  5. enable or disable maintenance mode.

Issues and Support

If you encounter any issues or have questions, please create an issue on the GitHub repository for this addon.

License

This addon is released under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固