spatie/laravel-health
Monitor your Laravel app’s health by registering checks (disk space, etc.) with warning/fail thresholds. Get notified via mail or Slack when checks degrade, and extend with custom checks for proactive alerting.
When RunHealthChecksCommand executes, all checks will be run. The results of these checks can be stored. Out of the box, this package offers two stores:
EloquentHealthResultStore: will store all results in the databaseCacheHealthResultStore: will store all results in cacheJsonFileHealthResultStore: will store all results in a JSON file.InMemoryHealthResultStore: will not store results at allYou can configure the stores to be used, by adding the store class name to the result_stores key of the health config file.
Keep in mind, that you can also opt not to store the results at all, but only get notifications when something is wrong.
How can I help you explore Laravel packages today?