mischasolaris/craft-health-check 问题修复 & 功能扩展

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

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

mischasolaris/craft-health-check

最新稳定版本:5.0.4

Composer 安装命令:

composer require mischasolaris/craft-health-check

包简介

Craft website healthcheck made easy

README 文档

README

Craft website healthcheck made easy

Requirements

This plugin requires Craft CMS 5.2.0 or later, and PHP 8.2 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Craft Health Check”. Then press “Install”.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require mischasolaris/craft-health-check

# tell Craft to install the plugin
./craft plugin/install craft-health-check

Usage

The health check is configured to require a secret password, which can be set in the control panel. As a simple demo, you can use this form to get the JSON response of the health check tests:

            <form method="post">
                {{ csrfInput() }}
                {{ actionInput('craft-health-check/health/check-results') }}

                <label for="loginName">Username or email</label>
                {{ input('text', 'craft-health-check-secret', null, {
                    id: 'secretCode',
                }) }}

                <button>Check</button>
            </form>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: mit
  • 更新时间: 2024-08-09