wt-health/laravel-health-check 问题修复 & 功能扩展

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

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

wt-health/laravel-health-check

最新稳定版本:v1.1.0

Composer 安装命令:

composer require wt-health/laravel-health-check

包简介

Check versions of vital parts of the application

README 文档

README

Test CI

Adds custom version check based on spatie/laravel-health

Installation & Configuration

 composer require wthealth/laravel-health-check

To have logs and metrics logged in Datadog, you must schedule health check command on your setup.

serverless.yaml

 artisan: handler: artisan runtime: php-83-console timeout: 720 # in seconds layers: - ${bref-extra:gd-php-83} - ${bref-extra:redis-php-83} events: - schedule: rate: rate(12 hours) input: '"health:check"'

Usage

You may configure these environment variable below accordingly

HEALTH_API_ROUTE_ENABLED= # enable /health-check endpoint - default: false HEALTH_API_KEY= # used to secure /health-check endpoint HEALTH_API_PACKAGES= # packages ( comma separated ) to have its versions checked

You can health check either accessing /health-check endpoint or running php artisan health:list --fresh

A schedule job runs every day and output logs that are ingested by Datadog

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固