定制 scottboms/link-scanner 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

scottboms/link-scanner

Composer 安装命令:

composer require scottboms/link-scanner

包简介

Link Scanner plugin for Kirby

README 文档

README

Plugin Preview

Adds a panel area with the ability to scan your site's content files for broken links. The plugin can traverse internal Kirby UUID links and external links in various formats reporting back those that return 404 or 500-level errors with a quick means to go to the source page and update or remove them.

Installation

Kirby CLI

kirby plugin:install scottboms/kirby-link-scanner

Composer

composer require scottboms/link-scanner

Git submodule

git submodule add https://github.com/scottboms/kirby-link-scanner.git site/plugins/link-scanner

Copy and Paste

  1. Download the contents of this repository as Zip file.
  2. Rename the extracted folder to link-scanner and copy it into the site/plugins/ directory in your Kirby project.

The plugin supports both Composer installs and direct plugin-folder installs. When installed without Composer, it falls back to Kirby's built-in class loader.

Configuration Options

Property Default Req? Description
scottboms.link-scanner.timeout 8 No Timeout for the scanner process
scottboms.link-scanner.userAgent Kirby Link Scanner No Set a custom UserAgent string

Example Config:

<?php
  return [
	  'scottboms.link-scanner' => [
      'timeout'    => 10,
      'userAgent'  => 'Kirby Link Scanner',
    ]
  ]

Compatibility

Disclaimer

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test before using it in a production environment. If you identify an issue, typo, etc, please create a new issue so I can investigate.

License

MIT

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固