acelabs/bulk-link-checker
Composer 安装命令:
composer require acelabs/bulk-link-checker
包简介
Bulk Link Checker plugin for Craft CMS by AceLabs.
README 文档
README
A link scanning utility for Craft CMS. It can scan issues with every link all in one go.
Why This Plugin Exists
Real sites get messy over time:
- Editors add content for years
- URLs change after redesigns
- External sites disappear
- Redirect chains accumulate
Manually checking every link is impossible. However, Bulk Link Checker does this for you.
Features
- Full multi-site scanning
- Redirect‑chain tracking
- Internal & external link checking
- Advanced filtering
- Export to CSV
- Optional draft/disabled content scanning
- See HTTP status codes & messages
- Optional asset scanning (images/files)
- Craft queue‑based background scanning
- Utility UI with grouped results
- Console command for CI/CD
Redirect Handling
This plugin automatically:
- Captures all redirect hops
- Displays the full redirect chain
- Tracks the final resolved URL
- Distinguishes direct
200vs200 via redirect
Example:
301 /old-url → /new-url
301 /new-url → /newer-url
200 /newer-url
Installation
Via Composer
composer require acelabs/bulk-link-checker
Then enable the plugin in:
Settings → Plugins
Control Panel Usage
- Select sites to scan
- Choose internal / external / both link types
- Apply ignore patterns
- Scan pages and field content
- View grouped results
- Inspect redirect chains
- Fix issues and rescan
- Export to CSV
Command‑Line Usage (Craft Console)
Run a scan:
php craft bulk-link-checker/scan/run
Perfect for automated workflows, CI pipelines, and local dev tools.
CLI Options
Sites
--sites=1,2
--sites=default,en
Accepts IDs or handles.
Entry Scope
--entryScope=all (default)
--entryScope=section
--entryScope=entryType
If using section/entryType:
--sections=3,7
--entryTypes=12,13
Link Types
--linkMode=both (default)
--linkMode=internal
--linkMode=external
Additional Options
--includeDisabled=1
--checkContentLinks=0
--checkAssets=1
Ignore Patterns
--ignorePatterns="google.com
facebook.com"
Output Format
--format=text
--format=json
JSON is ideal for CI.
Example CI Run
php craft bulk-link-checker/scan/run --sites=default --linkMode=external --format=json
Exit Codes:
0→ All good1→ Broken links detected
Performance
It is possible to configure the amount of links checked at once with a config file to a maximum of 50 link requests concurrently, massively speeding up the process of checking each link.
Paste the following return statement in config/bulk-link-checker.php
<?php
return [
// How many URLs to hit in parallel (per entry / per pool)
'concurrency' => 10,
];
Be sure to match this with what your server can handle as to avoid performance issues with loading pages as higher values can stress the CPU further. The more CPU threads, the better.
Also be mindful of requesting many links from a single external domain as that may flag it as spam if you request too many. So use the ignore URL patterns feature to your advantage.
Requirements
- Craft CMS 5.x+
- PHP 8.0+
Reporting Issues
Please open an issue on the project repository.
License
All rights reserved. © AceLabs 2025
acelabs/bulk-link-checker 适用场景与选型建议
acelabs/bulk-link-checker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 20 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 11 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「check」 「link」 「scan」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 acelabs/bulk-link-checker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 acelabs/bulk-link-checker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 acelabs/bulk-link-checker 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A couple of handy form fields and objects for managing external and internal links on DataObjects
A Symfony bundle for chameleon-system/sanitycheck
PHP library that allows linking queries from diferent physical databases using mysql pdo database connections
AMWSCAN (Antimalware Scanner) is a php antimalware/antivirus scanner console script written in php for scan your project. This can work on php projects and a lot of others platform.
Custom links on your sidebar for Laravel Nova.
This Extension integrates a credit check and more made by the LEONEX Risk Management Platform into your order process. Extensive configuration and evaluation options is provided in the Platform
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-11-20