composer require code16/sharp-ohdear-broken-links
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');
}
}
The MIT License (MIT). Please see License File for more information.