gocpa / space-healthcheck
Package for GoCPA.space healthcheck integration
Installs: 13 567
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: ^8.1|^8.2
- ext-json: *
- illuminate/support: ^9.0|^10.0|^11.0
Requires (Dev)
- larastan/larastan: ^1.0.3|^2.6
- laravel/pint: ^1.0
- orchestra/testbench: ^6.23|^7.6|^8.0
- pestphp/pest: ^1.23|^2.16
- pestphp/pest-plugin-laravel: ^1.4|^2.2
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
Suggests
- spatie/laravel-health: Monitor the health of a Laravel application
README
Пакет для мониторинга проектов GoCPA
Установка
composer require gocpa/space-healthcheck
После установки добавьте на стенды секретный ключ в файл .env
GOCPASPACE_HEALTHCHECK_SECRET=секретный_токен
Проверка
source .env curl "${APP_URL}/space/check" --header "accept: application/json" --header "x-space-secret-key: ${GOCPASPACE_HEALTHCHECK_SECRET}"