Download the PHP package illuma-law/healthcheck-typesense without Composer
On this page you can find all versions of the php package illuma-law/healthcheck-typesense. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download illuma-law/healthcheck-typesense
More information about illuma-law/healthcheck-typesense
Files in illuma-law/healthcheck-typesense
Package healthcheck-typesense
Short Description A Typesense health check for Spatie's Laravel Health package.
License MIT
Homepage https://github.com/eloquage/healthcheck-typesense
Informations about the package healthcheck-typesense
Healthcheck Typesense for Laravel
A Spatie Laravel Health check that
calls Typesense’s /health endpoint and reports reachability and response time.
Requirements
- PHP 8.3 or later
- Laravel 12 or 13
- Spatie Laravel Health 1.39 or later
Install and configure
Set the client connection values in .env:
The default slow-response warning threshold is five seconds. Change
timeout_seconds in config/healthcheck-typesense.php to adjust it.
Register the check
The check returns OK for a timely health response, Warning when it exceeds the threshold, and Failed when the request cannot reach Typesense.
Override settings
Pass client settings when they come from another config source, such as Scout:
If your application already has a Typesense\Client, pass it with
TypesenseCheck::new()->useClient($client).
Test
MIT licensed. See LICENSE.md.
All versions of healthcheck-typesense with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^12.0||^13.0
illuminate/support Version ^12.0||^13.0
spatie/laravel-health Version ^1.39
typesense/typesense-php Version ^6.0