alahaxe /
系统检查 alahaxe/healthcheck-bundle
v1.0.4
2022-02-13 21:56 UTC
Requires
- php: ^8.0
- alahaxe/healthcheck-contracts: ^1.0
Requires (Dev)
- brianium/paratest: ^6.4
- php-parallel-lint/php-parallel-lint: ^1.3
- phpstan/phpstan: ^1.3
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-09-15 21:46:46 UTC
README
安装
安装检查器
composer require alahaxe/healthcheck-curl
在您的应用程序中注册服务
Alahaxe\HealthCheckBundle\Checks\Curl\CurlCheck: # optional arguments arguments: $url: "https://httpbin.org/get" $name: "curlHttpBin" # optionals arguments $connectTimeout: 2 $timeout: 5 $warningOnTimeout: false # default is to report incident $warningOnFail: false # default is to report incident $trustCertificate: false # self signed ssl cert ? tags: ['lahaxearnaud.healthcheck.check']