PHPackages                             rareloop/lumberjack-sitehealth - 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. rareloop/lumberjack-sitehealth

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

rareloop/lumberjack-sitehealth
==============================

v1.0.3(7mo ago)047.1k—3.1%1PHP

Since Mar 18Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/Rareloop/lumberjack-sitehealth)[ Packagist](https://packagist.org/packages/rareloop/lumberjack-sitehealth)[ RSS](/packages/rareloop-lumberjack-sitehealth/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (7)Used By (0)

Lumberjack Site Health
======================

[](#lumberjack-site-health)

This package provides a simple way to register custom checks for the Site Health feature introduced in WordPress 5.2.

Once installed, register the Service Provider in `config/app.php`:

```
'providers' => [
    ...

    Rareloop\Lumberjack\SiteHealth\SiteHealthServiceProvider::class,

    ...
],
```

Config
------

[](#config)

You register custom checks in the `config/sitehealth.php` file:

```
return [
    'checks' => [
        \App\SiteHealth\MyCustomCheck::class,
    ],
];
```

Creating a check
----------------

[](#creating-a-check)

Create a class that extends the `Rareloop\Lumberjack\SiteHealth\HealthCheck` class and register it in the config as above.

Example:

```
