{"repo":"ans-group/laravel-health-check","free":true,"listed":false,"github":"https://github.com/ans-group/laravel-health-check","clone":"git clone https://github.com/ans-group/laravel-health-check.git","description":"A package for checking the health of your Laravel & Lumen applications","language":"PHP","stars":166,"topics":["laravel-health-check","laravel","lumen","health-checks","hacktoberfest"],"license":"MIT","category":"dev-tools","readme_excerpt":"Health Check Package The purpose of this package is to surface a health-check endpoint on /health which, when hit, returns the status of all the services and dependencies your project relies on, along with the overall health of your system. This is useful in both development and production for debugging issues with a faulty application. This package also adds a /ping endpoint. Just hit /ping and receive pong in response. Installation To install the package: Run composer require ans-group/laravel-health-check to add the package to your dependencies. This will automatically install the package to your vendor folder. Laravel In Laravel applications, the service provider should be automatically registered, but you may register it manually in your config/app.php file: Lumen To have the package function in Lumen, you need to register the service provider. add the following to your bootstrap/app.php file: You can test that the package is working correctly by hitting the /health endpoint. Configuration Laravel Facade We surface a HealthCheck facade with the package. You can use the passes , fails , or all methods, if you want to access the results of a check or the number of checks running from within your code. If one of the checks provided cannot be resolved from the service container, we'll throw a CheckNotFoundException with the name of the missing check. Config If you'd like to tweak the config file (helpful for configuring the EnvHealthCheck , for example), you can publish it w","default_branch":null,"files":null,"tree":[],"storefront":"/r/ans-group","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ans-group/laravel-health-check/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}