Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Vdm Healthcheck Bundle Laravel Package

3slab/vdm-healthcheck-bundle

View on GitHub
Deep Wiki
Context7

VdmHealthcheckBundle

Build Status

This bundle provides all the tooling to implement simple healthcheck functionnality.

Installation

composer require 3slab/vdm-healthcheck-bundle

And load the routes in routing.yml :

vdm_healthcheck:
  resource: "@VdmHealthcheckBundle/Resources/config/routing.yml"
  prefix:   /

Configuration

Put your configuration in config/packages/vdm_healthcheck.yaml file. This is the default :

vdm_healthcheck:
  secret: ~
  liveness_path: /liveness
  liveness_checkers: {}
  readiness_path: /readiness
  readiness_checkers: {}
Parameter Default Description
vdm_healthcheck.secret null if set, you need to provide the secret as a GET parameter secret or in the
header VDM-HEALTHCHECK-SECRET to get the detailed result of the healthcheck in the response body.
vdm_healthcheck.liveness_path /liveness Change the path of the liveness endpoint.
vdm_healthcheck.liveness_checkers {} Configure a list of checker for the liveness endpoint. See below for
a detailed explanation.
vdm_healthcheck.readiness_path /readiness Change the path of the readiness endpoint.
vdm_healthcheck.readiness_checkers {} Configure a list of checker for the readiness endpoint. See below for
a detailed explanation.

liveness_checkers and readiness_checkers are hash map. The key is the name given to this check and the value is an hash map to configure the check.

vdm_healthcheck:
  liveness_checkers:
    name_of_your_checker:
      type: <checker type>
      arguments: []

Each checker has a name, a type and a list of constructor arguments depending on its type. Arguments support parameters surrounded by % or service id prefixed by @.

Exemple :

vdm_healthcheck:
  liveness_checkers:
    db:
      type: dbal
      arguments:
        - '@doctrine.dbal.default_connection'

Checker's types

You can also create your own checker

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle