PHPackages                             jpvdw86/symfony-health-check-bundle - 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. [Database &amp; ORM](/categories/database)
4. /
5. jpvdw86/symfony-health-check-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

jpvdw86/symfony-health-check-bundle
===================================

Symfony health check bundle

v1.1.1(3y ago)113.9k↓35.7%MITPHPPHP &gt;=7.4

Since May 9Pushed 3y agoCompare

[ Source](https://github.com/jpvdw86/symfony-health-check-bundle)[ Packagist](https://packagist.org/packages/jpvdw86/symfony-health-check-bundle)[ Docs](https://github.com/jpvdw86/symfony-health-check-bundle)[ RSS](/packages/jpvdw86-symfony-health-check-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (18)Used By (0)

Symfony Health Check Bundle
===========================

[](#symfony-health-check-bundle)

This is a fork of the MacPaw/symfony-health-check-bundle bundle. Changes on this bundle, is the statuscode on failure. The statuscode is default 200, but incorrect. If the health check failed, this must create a unhealty docker status.

VersionBuild StatusCode Coverage`master`[![CI](https://github.com/macpaw/symfony-health-check-bundle/workflows/CI/badge.svg?branch=master)](https://github.com/macpaw/symfony-health-check-bundle/actions?query=workflow%3ACI+branch%3Amaster)[![Coverage Status](https://camo.githubusercontent.com/5464714b9917bedfeb6f6ecc86005dca06cf68048e6868dd2baab84db9015408/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d61637061772f73796d666f6e792d6865616c74682d636865636b2d62756e646c652f6d61737465723f6c6f676f3d636f6465636f76)](https://codecov.io/gh/macpaw/symfony-health-check-bundle/branch/master)`develop`[![CI](https://github.com/macpaw/symfony-health-check-bundle/workflows/CI/badge.svg?branch=develop)](https://github.com/macpaw/symfony-health-check-bundle/actions?query=workflow%3ACI+branch%3Adevelop)[![Coverage Status](https://camo.githubusercontent.com/f5fd4a4254a63527c6220866b33a0589b0e7ded156563bfea9e482f9d34377f3/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6d61637061772f73796d666f6e792d6865616c74682d636865636b2d62756e646c652f646576656c6f703f6c6f676f3d636f6465636f76)](https://codecov.io/gh/macpaw/symfony-health-check-bundle/branch/develop)Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute:

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

```
$ composer require jpvdw86/symfony-health-check-bundle
```

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require jpvdw86/symfony-health-check-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
