PHPackages                             codemonauts/craft-healthz - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. codemonauts/craft-healthz

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codemonauts/craft-healthz
=========================

Module to answer healthz checks.

1.0.0(7y ago)15.0k1PHP

Since Apr 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/codemonauts/craft-healthz)[ Packagist](https://packagist.org/packages/codemonauts/craft-healthz)[ RSS](/packages/codemonauts-craft-healthz/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Healthz module for Craft CMS 3.x
================================

[](#healthz-module-for-craft-cms-3x)

[![Icon](resources/healthz.png)](resources/healthz.png)

A really basic healthz check module for Craft CMS.

Background
----------

[](#background)

If you running your Craft CMS servers behind a loadbalancer or you are monitoring your site with an external monitoring tools, you need an endpoint which

- answers early and doesn't walk through the whole stack
- answers with an 200 Ok even when a migration is waiting
- checks if the connection to the database and cache is available

Requirements
------------

[](#requirements)

- Craft CMS &gt;= 3.0.0

Installation
------------

[](#installation)

```
cd /path/to/project
composer require codemonauts/craft-healthz
```

Then add the module to the `app.php` in your Craft config directory like this:

```
