PHPackages                             vendic/magento2-oh-dear-checks - 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. vendic/magento2-oh-dear-checks

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

vendic/magento2-oh-dear-checks
==============================

Oh Dear! Magento 2 module

1.8.5(5mo ago)84.2k↓37.8%42MITPHPPHP ~8.1.0|~8.2.0|~8.3.0|~8.4.0

Since Feb 8Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/Vendic/magento2-oh-dear)[ Packagist](https://packagist.org/packages/vendic/magento2-oh-dear-checks)[ RSS](/packages/vendic-magento2-oh-dear-checks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (29)Used By (2)

Oh Dear module for Magento 2 [![Integration Test](https://github.com/Vendic/magento2-oh-dear/actions/workflows/integration.yml/badge.svg)](https://github.com/Vendic/magento2-oh-dear/actions/workflows/integration.yml)
========================================================================================================================================================================================================================

[](#oh-dear-module-for-magento-2-)

This module adds [Application health monitoring](https://ohdear.app/features/application-health-monitoring) using [Oh Dear](https://ohdear.app/) to Magento 2. It allows you to easily write your own custom checks. Additionally, it ships with a number of checks out of the box.

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

[](#installation)

```
composer require vendic/magento2-oh-dear-checks
```

Configuration
-------------

[](#configuration)

Some checks have an optional configuration. You can configure these checks in the `env.php`. Example:

```
    'ohdear' => [
        \Vendic\OhDear\Checks\Diskspace::class => [
            'max_percentage_used' => '86'
        ],
        \Vendic\OhDear\Checks\CpuLoad::class => [
            'max_load_last_minute' => 10,
            'max_load_last_five_minutes' => 8,
            'max_load_last_fifteen_minutes' => 6
        ],
        \Vendic\OhDear\Checks\DatabaseConnectionCount::class => [
            'failed_treshold' => 100,
            'warning_treshold' => 80
        ],
        \Vendic\OhDear\Checks\PhpFpmCount::class => [
            'failed_treshold' => 100,
            'warning_treshold' => 80
        ],
    ]
```

Disabling Checks
----------------

[](#disabling-checks)

To disable any check, add an entry to your `env.php` with the check class name and set `enabled` to `false`:

```
    'ohdear' => [
        'Vendic\\OhDear\\Checks\\CpuLoad' => [
            'enabled' => false
        ],
        'Vendic\\OhDear\\Checks\\Diskspace' => [
            'enabled' => false
        ],
        'Vendic\\OhDear\\Checks\\TwoFactorAuthentication' => [
             'enabled' => false
        ]
    ],
```

Checks
------

[](#checks)

TODO

Write your own checks
---------------------

[](#write-your-own-checks)

1. Create a new class that implements `Vendic\OhDear\Interfaces\CheckInterface`, place it in 'Checks'. This class will contain the main logic of your check.
2. Add your new class to the 'checks' argument of `Vendic\OhDear\Api\CheckListInterface`

```

                ...
                Vendic\OhDear\Checks\YourNewCheck
                ...

```

3. Preferabbly add a test for your check. See `Vendic\OhDear\Test\Integration\Checks\` for examples.
4. Test your output on: . Your GET request should include the header `oh-dear-health-check-secret`. The header value should match the Magento config value of `ohdear/health_check/secret`. If you don't have this header, you will get a 'No health secret provided' response.
5. Open a PR with your new check!

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~53 days

Recently: every ~43 days

Total

20

Last Release

179d ago

Major Versions

0.2.0 → 1.0.02023-02-20

PHP version history (4 changes)0.1.0PHP ~8.1.0

1.1.1PHP ~8.1.0|~8.2.0

1.3.0PHP ~8.1.0|~8.2.0|~8.3.0

1.3.1PHP ~8.1.0|~8.2.0|~8.3.0|~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/459ec352617fd5a9f46070338b99ed03828fc902eb0a361aed717576e67bd2c4?d=identicon)[TjitseE](/maintainers/TjitseE)

---

Top Contributors

[![Tjitse-E](https://avatars.githubusercontent.com/u/14849044?v=4)](https://github.com/Tjitse-E "Tjitse-E (48 commits)")[![petro-prots](https://avatars.githubusercontent.com/u/47610731?v=4)](https://github.com/petro-prots "petro-prots (21 commits)")[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (3 commits)")[![kis28viktor](https://avatars.githubusercontent.com/u/8430443?v=4)](https://github.com/kis28viktor "kis28viktor (2 commits)")[![frank-bokdam](https://avatars.githubusercontent.com/u/46452308?v=4)](https://github.com/frank-bokdam "frank-bokdam (1 commits)")[![stijntrinos](https://avatars.githubusercontent.com/u/96116544?v=4)](https://github.com/stijntrinos "stijntrinos (1 commits)")

### Embed Badge

![Health badge](/badges/vendic-magento2-oh-dear-checks/health.svg)

```
[![Health](https://phpackages.com/badges/vendic-magento2-oh-dear-checks/health.svg)](https://phpackages.com/packages/vendic-magento2-oh-dear-checks)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[elgentos/magento2-hyva-checkout-ab-test

Set up an A/B test with different available Hyvä and Luma checkouts

154.2k](/packages/elgentos-magento2-hyva-checkout-ab-test)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
