Skip to content

code16/sharp-ohdear-broken-links

Repository files navigation

Installation

composer require code16/sharp-ohdear-broken-links

Usage

This package should only be added on a project that already have an OhDear monitoring setup. It will use the config value of schedule-monitor.oh_dear.site_id.

Add in config/sharp.php:

// config/sharp.php

return [
    // ...

    'entities' => [
        // ...
        'brokenLinks' => Code16\SharpOhdearBrokenLinks\Sharp\Entities\BrokenLinkEntity::class,
    ],

and add in sharp menu file:

class AppSharpMenu extends SharpMenu
{
    public function build(): self
    {
        // [...]
        return $this
            ->addEntityLink('brokenLinks', 'Broken links', 'fa-chain-broken');
    }
}

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages