{"id":28676480,"url":"https://github.com/code16/sharp-ohdear-broken-links","last_synced_at":"2026-01-16T20:14:26.857Z","repository":{"id":169318285,"uuid":"645246400","full_name":"code16/sharp-ohdear-broken-links","owner":"code16","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-10T12:57:28.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T23:04:48.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code16.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-25T08:30:53.000Z","updated_at":"2025-03-10T12:56:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab44885e-0ef1-4845-a8d3-993b1834872f","html_url":"https://github.com/code16/sharp-ohdear-broken-links","commit_stats":null,"previous_names":["code16/sharp-ohdear-broken-links"],"tags_count":9,"template":false,"template_full_name":"spatie/package-skeleton-laravel","purl":"pkg:github/code16/sharp-ohdear-broken-links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code16%2Fsharp-ohdear-broken-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code16%2Fsharp-ohdear-broken-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code16%2Fsharp-ohdear-broken-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code16%2Fsharp-ohdear-broken-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code16","download_url":"https://codeload.github.com/code16/sharp-ohdear-broken-links/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code16%2Fsharp-ohdear-broken-links/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265562991,"owners_count":23788624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-13T23:04:48.058Z","updated_at":"2025-10-08T03:28:28.250Z","avatar_url":"https://github.com/code16.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Sharp OhDear Broken Links\nA Laravel package designed to be used with [Sharp](https://github.com/code16/sharp) to display [broken links from your OhDear monitoring](https://ohdear.app/features/broken-page-and-mixed-content-detection).\n\n## Installation\n\n```bash\ncomposer require code16/sharp-ohdear-broken-links\n```\n\n## Usage\nThis package is designed to add a broken links' list in your Sharp back-office.\nIt uses the OhDear env keys to connect to OhDear API, you need at least `OH_DEAR_MONITOR_ID` and `OH_DEAR_API_TOKEN`.\n\nOptionally, you can publish the package configuration with:\n```bash\nphp artisan vendor:publish --tag=sharp-ohdear-broken-links-config\n```\n\nIn your [Sharp Configuration Service Provider](https://sharp.code16.fr/docs/guide/#configuration-via-a-new-service-provider), add the broken links' entity :\n```php\nclass SharpConfigServiceProvider extends SharpAppServiceProvider\n{\n    protected function configureSharp(SharpConfigBuilder $config): void\n    {\n        $config\n            -\u003esetName('Your beautiful project')\n            -\u003esetSharpMenu(AppSharpMenu::class)\n            -\u003ediscoverEntities()\n            -\u003edeclareEntity(Code16\\SharpOhdearBrokenLinks\\Sharp\\Entities\\BrokenLinkEntity::class); // \u003c-- declare the package entity here\n    }\n```\n\nThen add it to your sharp menu:\n```php\nclass AppSharpMenu extends SharpMenu\n{\n    public function build(): self\n    {\n        // [...]\n        return $this\n            -\u003eaddEntityLink(Code16\\SharpOhdearBrokenLinks\\Sharp\\Entities\\BrokenLinkEntity::class, 'Broken links', 'fas-link-slash');\n    }\n}\n```\n\n## Credits\n\n- [Arnaud Becher](https://github.com/smknstd)\n- [Lucien PUGET](https://github.com/patrickepatate)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode16%2Fsharp-ohdear-broken-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode16%2Fsharp-ohdear-broken-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode16%2Fsharp-ohdear-broken-links/lists"}