New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

deegitalbe/laravel-trustup-io-health-checker

Health checker package for trustup apps
3,018
Install
composer require deegitalbe/laravel-trustup-io-health-checker
Latest Version:v0.3.0
PHP:^8.1
Laravel:11 · 12 · 13
Older releases:9
License:MIT
Last Updated:Jul 14, 2022
Links: GitHub  ·  Packagist
Maintainer: fhusquinet

Health checker package for trustup apps

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Allow to quickly monitor a website.

Installation

You can install the package via composer:

composer require deegitalbe/laravel-trustup-io-health-checker

You have to push the configuration file :

php artisan vendor:publish --tag="health-config"

Inside the generated health.php config file, inside the 'result_stores', just enable the InMemoryHealthResultStore::class and disable other storages :

'result_stores' => [
    /*
    Spatie\Health\ResultStores\EloquentHealthResultStore::class => [
    'model' => Spatie\Health\Models\HealthCheckResultHistoryItem::class,
    'keep_history_for_days' => 5,
    ],

    Spatie\Health\ResultStores\CacheHealthResultStore::class => [
        'store' => 'file',
    ],

    Spatie\Health\ResultStores\JsonFileHealthResultStore::class => [
        'disk' => 's3',
        'path' => 'health.json',
    ],
    */
    
    Spatie\Health\ResultStores\InMemoryHealthResultStore::class,
],

Usage

You can fetch the in real-time result on the route /health-json

Credits

License

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

Related Packages

deegitalbe/laravel-trustup-io-authentification

Connect your Laravel project to our centralized authentication service

6,250 0
deegitalbe/laravel-trustup-io-translations-loader

Load translations from our centralized translations service (translations.trustu...

5,680 0
deegitalbe/laravel-trustup-io-notifier

This is my package laravel-trustup-io-notifier

4,595 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982

Version History

Version Released PHP Laravel License
v0.3.0 ^8.1 MIT
v0.2.0 ^8.1 MIT
v0.1.0 ^8.1 MIT
v0.0.1 ^8.1 ^9.0 MIT