定制 alc/links-checker 二次开发

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

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

alc/links-checker

Composer 安装命令:

composer require alc/links-checker

包简介

Check urls contained in a file / Crawl sitemap.xml and find broken links

关键字:

README 文档

README

Install globaly

composer global require alc/links-checker

# Make sure you have export PATH in your ~/bashrc
export PATH=~/.config/composer/vendor/bin:$PATH

Usage

check:file command

# Check urls contained in file (one per line)
phplchk check:file tests/input.txt

# Check urls and write results in csv file
phplchk check:file tests/input.txt -o tests/output.csv

# Check urls from remote file
phplchk check:file https://raw.githubusercontent.com/chemel/links-checker/master/tests/input.txt

# Show help
phplchk check:file --help

check:sitemap command

# Check sitemap.xml
phplchk check:sitemap http://blog.chemel.fr/sitemap.xml

# Check sitemap.xml and write results in csv file
phplchk check:sitemap http://blog.chemel.fr/sitemap.xml -o output.csv

# Crawl sitemap.xml and check links on each pages
phplchk check:sitemap http://blog.chemel.fr/sitemap.xml --level=2 
phplchk check:sitemap http://blog.chemel.fr/sitemap.xml -o output.csv --level=2 

# Show help
phplchk check:sitemap --help

sitemap:crawl command

# Dump sitemap urls
phplchk sitemap:crawl http://blog.chemel.fr/sitemap.xml > sitemap.txt

check:seo command

# Check + extract meta title, description, keywords, canonical url
phplchk check:seo tests/seo-input.txt tests/seo-output.csv

url:generator command

phplchk url:generator 'http://blog.chemel.fr/page/{1-10}/' > check-me.txt

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固